| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| CourseWaitlistOption |
|
| 1.0;1 |
| 1 | package org.kuali.student.enrollment.waitlist.course.infc; | |
| 2 | ||
| 3 | import org.kuali.student.r2.common.infc.IdEntity; | |
| 4 | import org.kuali.student.r2.common.infc.TimeAmount; | |
| 5 | ||
| 6 | /** | |
| 7 | * The CourseWaitlistOption represents a single waitlist for a reg group in a | |
| 8 | * course. It contains the reg group id for which this particular option is for | |
| 9 | * and the clearing strategy, i.e., the method how this waitlist will be | |
| 10 | * cleared. If the course has just one waitlist clearing methods for all | |
| 11 | * reg-groups, then the number of CourseWailtlistOptions will be as many as the | |
| 12 | * reg groups in the course. If a course has just one reg group, only one of | |
| 13 | * this entity has to be created. | |
| 14 | * | |
| 15 | * @author Kuali Student Team (sambit) | |
| 16 | */ | |
| 17 | public interface CourseWaitlistOption extends IdEntity { | |
| 18 | ||
| 19 | /** | |
| 20 | * The reg group for the waitlist option, a waitlist can be created for a | |
| 21 | * particular reg group the students try to enroll in. | |
| 22 | * | |
| 23 | * @return | |
| 24 | */ | |
| 25 | public String getRegGroupId(); | |
| 26 | ||
| 27 | /** | |
| 28 | * Return one of the course waitlist clearing strategies - automatic, | |
| 29 | * semi-automatic or manual for this particular reg-group. | |
| 30 | * | |
| 31 | * @return | |
| 32 | */ | |
| 33 | public String getClearingStrategy(); | |
| 34 | ||
| 35 | ||
| 36 | /** | |
| 37 | * Returns if check-in by a student on the list is required by this | |
| 38 | * waitlist. | |
| 39 | * | |
| 40 | * @return | |
| 41 | */ | |
| 42 | public Boolean getCheckInRequired(); | |
| 43 | ||
| 44 | /** | |
| 45 | * Returns the check in frequency for the Waitlist. A Waitlist might have a | |
| 46 | * check in frequency requirement for all the students in the Waitlist. | |
| 47 | * | |
| 48 | * @return | |
| 49 | */ | |
| 50 | public TimeAmount getCheckInFrequency(); | |
| 51 | ||
| 52 | ||
| 53 | } |