Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
RegResponseItem |
|
| 1.0;1 |
1 | package org.kuali.student.enrollment.courseregistration.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 | * This method ... | |
29 | * | |
30 | * @return | |
31 | */ | |
32 | public String getRegRequestItemId(); | |
33 | /** | |
34 | * | |
35 | * Gets the course registration (if any) that resulted from this registration transaction | |
36 | * | |
37 | * @return | |
38 | */ | |
39 | public String getCourseRegistrationId(); | |
40 | ||
41 | /** | |
42 | * Gets the waitlist entry (if any) that resulted from this registration transaction | |
43 | * | |
44 | * @return | |
45 | */ | |
46 | public String getCourseWaitlistEntryId(); | |
47 | ||
48 | ||
49 | } |