/** * Extended functionality for the student/course interface. */ public interface RegistrationExtendedI extends RegistrationI { /** * Unregister a student from a course. If there are any students waiting * to get into this course, attempt to register them. If an exception is * thrown trying to register a waiting student, move on to the next * waiting student. */ public void unregister(int studentId,String courseId) throws RegException; /** * Attempt to register for a course. If it is full, go on a waiting list. */ public void registerOrWait(int studentId,String courseId) throws RegException; }