1 package example.cmp.transaction; 2 3 import javax.ejb.*; 4 import java.util.Collection; 5 6 9 public interface RegistrationSession extends EJBLocalObject { 10 11 15 public void addCourse(Course course) 16 throws FinderException; 17 21 public void removeCourse(Course course) 22 throws FinderException; 23 26 public Collection getAvailableCourses(); 27 31 public Collection getSelectedCourses(); 32 36 public Collection getEnrolledCourses(); 37 40 public String getStudentName(); 41 44 public boolean isComplete(); 45 50 public void finalizeRegistration() 51 throws RegistrationDeniedException; 52 53 } 54 | Popular Tags |