Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
RegRequest |
|
| 1.0;1 |
1 | package org.kuali.student.enrollment.registration.course.infc; | |
2 | ||
3 | import java.util.List; | |
4 | ||
5 | import org.kuali.student.enrollment.acal.infc.Term; | |
6 | import org.kuali.student.r2.common.infc.IdEntity; | |
7 | ||
8 | /** | |
9 | * The request made to the service from the application to register for | |
10 | * course(s). The attributes of this entity include students, requester (which | |
11 | * will be the student in most cases), request id and term. Each of the reg | |
12 | * group the students want to register would be a registration request item in | |
13 | * the Request object. For every transactional operation from the application, a | |
14 | * new Registration request is created. | |
15 | * | |
16 | * @author Kuali Student Team (sambit) | |
17 | */ | |
18 | public interface RegRequest extends IdEntity { | |
19 | ||
20 | /** | |
21 | * Returns the id of the person who requested the course registration. Most | |
22 | * of the times it would be a student but it could also be an admin or | |
23 | * faculty making a request on behalf of the student | |
24 | * | |
25 | * @return | |
26 | */ | |
27 | public String getRequestorId(); | |
28 | ||
29 | /** | |
30 | * Return the id of the student to be registered | |
31 | * | |
32 | * @return | |
33 | */ | |
34 | ||
35 | public String getStudentId(); | |
36 | ||
37 | /** | |
38 | * Returns the key of the {@link Term} of the registration request | |
39 | * | |
40 | * @return | |
41 | */ | |
42 | public String getTermKey(); | |
43 | ||
44 | /** | |
45 | * Returns a list of {@link RegRequestItem} that the RegRequest is composed | |
46 | * of. | |
47 | * | |
48 | * @return | |
49 | */ | |
50 | public List<? extends RegRequestItem> getRegRequestItems(); | |
51 | ||
52 | ||
53 | } |