| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RegResponseItem |
|
| 1.0;1 |
| 1 | package org.kuali.student.enrollment.registration.course.infc; | |
| 2 | ||
| 3 | ||
| 4 | import org.kuali.student.r2.common.infc.HasAttributesAndMeta; | |
| 5 | import org.kuali.student.r2.common.infc.OperationStatus; | |
| 6 | ||
| 7 | /** | |
| 8 | * A more granular status object than the Registration response which gives the | |
| 9 | * response status of the individual registration item, i.e., a course reg | |
| 10 | * group. It has a reference to the Course Registration in case of a successful | |
| 11 | * registration. The response contains status such as SUCCESS or FAILURE and | |
| 12 | * then necessary messages, warning or errors. The state of the response in case | |
| 13 | * of a success can be registered, waitlisted, or holdlisted. | |
| 14 | * | |
| 15 | * @author Kuali Student Team (sambit) | |
| 16 | */ | |
| 17 | public interface RegResponseItem { | |
| 18 | ||
| 19 | /** | |
| 20 | * | |
| 21 | * Get the operation status info for the registration item. | |
| 22 | * | |
| 23 | * @return | |
| 24 | */ | |
| 25 | public OperationStatus getOperationStatus(); | |
| 26 | ||
| 27 | /** | |
| 28 | * | |
| 29 | * Gets the course registration (if any) that resulted from this registration transaction | |
| 30 | * | |
| 31 | * @return | |
| 32 | */ | |
| 33 | public String getCourseRegistrationId(); | |
| 34 | ||
| 35 | /** | |
| 36 | * Gets the waitlist entry (if any) that resulted from this registration transaction | |
| 37 | * | |
| 38 | * @return | |
| 39 | */ | |
| 40 | public String getCourseWaitlistEntryId(); | |
| 41 | } |