public interface CourseRegistrationCartClientService
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addCoursesToCartRS(String termId,
List<AddCourseToCartRequestInfo> cartItems)
Adds a list of courses to the cart for the given user and term.
|
javax.ws.rs.core.Response |
addCourseToCartAliasRS(String termId,
String regGroupId,
String courseCode,
String regGroupCode,
String gradingOptionId,
String credits)
Deprecated.
|
javax.ws.rs.core.Response |
addCourseToCartRS(String termId,
String regGroupId,
String courseCode,
String regGroupCode,
String gradingOptionId,
String credits)
The REST version of addCourseToCart
|
javax.ws.rs.core.Response |
clearCartAliasRS(String termId,
String termCode)
Deprecated.
|
javax.ws.rs.core.Response |
clearCartRS(String termId,
String termCode)
Find cart if it exists and delete all items from cart.
|
javax.ws.rs.core.Response |
removeItemFromCartRS(String termId,
String cartItemId)
The REST version of removeItemFromCart
|
javax.ws.rs.core.Response |
searchForCartAliasRS(String termId)
Deprecated.
|
javax.ws.rs.core.Response |
searchForCartRS(String termId)
Looks up cart information for the given user and term.
|
javax.ws.rs.core.Response |
submitCartAliasRS(String cartId)
Deprecated.
|
javax.ws.rs.core.Response |
submitCartRS(String termId)
The REST version of submitCart
|
javax.ws.rs.core.Response |
undoDeleteCourseRS(String termId,
String courseCode,
String regGroupId,
String regGroupCode,
String gradingOptionId,
String credits)
The REST version of undoDeleteCourse
Calls addCourseToCart logic via a GET Query
This is necessary because Undo is a link which does not allow POST operations or have Form Parameters
|
javax.ws.rs.core.Response |
updateCartItemRS(String termId,
String cartItemId,
String credits,
String gradingOptionId)
The REST version of updateCartItem
|
javax.ws.rs.core.Response searchForCartRS(String termId)
termId - term for the cartjavax.ws.rs.core.Response clearCartRS(String termId, String termCode)
termId - - optional, but more efficient to usetermCode - - optional, but human readable. 201208javax.ws.rs.core.Response submitCartRS(String termId)
termId - ID of the term for the cartjavax.ws.rs.core.Response addCourseToCartRS(String termId, String regGroupId, String courseCode, String regGroupCode, String gradingOptionId, String credits)
termId - ID of the term for the cartcourseCode - course offering to add to the cartregGroupId - Optional. Will speed things up if passed instead of (courseCode, regGroupCode)regGroupCode - reg group we want to addgradingOptionId - the RVG key of grading student registration option. (org.kuali.rvg.grading.PassFail, org.kuali.rvg.grading.Letter)credits - The numeric string value of credit student registration option. Must convert to KualiDecimal.javax.ws.rs.core.Response removeItemFromCartRS(String termId, String cartItemId)
termId - ID of the term for the cartcartItemId - id of the item to delete from the cart.javax.ws.rs.core.Response updateCartItemRS(String termId, String cartItemId, String credits, String gradingOptionId)
termId - ID of the term for the cartcartItemId - ID of the specific item being updatedcredits - The numeric string value of credit student registration option. Must convert to KualiDecimal.gradingOptionId - the RVG key of grading student registration option. (org.kuali.rvg.grading.PassFail, org.kuali.rvg.grading.Letter)javax.ws.rs.core.Response addCoursesToCartRS(String termId, List<AddCourseToCartRequestInfo> cartItems)
termId - term for the cartcartItems - List of AddCourseToCartRequestInfo to be addedjavax.ws.rs.core.Response undoDeleteCourseRS(String termId, String courseCode, String regGroupId, String regGroupCode, String gradingOptionId, String credits)
termId - termId for reg group being added to cartcourseCode - course offering to add to the cartregGroupId - Optional. Will speed things up if passed instead of (courseCode, regGroupCode)regGroupCode - reg group we want to addgradingOptionId - the RVG key of grading student registration option. (org.kuali.rvg.grading.PassFail, org.kuali.rvg.grading.Letter)credits - The numeric string value of credit student registration option. Must convert to KualiDecimal.javax.ws.rs.core.Response clearCartAliasRS(String termId, String termCode)
termId - - optional, but more efficient to usetermCode - - optional, but human readable. 201208javax.ws.rs.core.Response searchForCartAliasRS(String termId)
termId - term for the cartjavax.ws.rs.core.Response submitCartAliasRS(String cartId)
cartId - ID of the registrationRequest representing the cartjavax.ws.rs.core.Response addCourseToCartAliasRS(String termId, String regGroupId, String courseCode, String regGroupCode, String gradingOptionId, String credits)
courseCode - course offering to add to the cartregGroupId - Optional. Will speed things up if passed instead of (courseCode, regGroupCode)regGroupCode - reg group we want to addgradingOptionId - the RVG key of grading student registration option. (org.kuali.rvg.grading.PassFail, org.kuali.rvg.grading.Letter)credits - The numeric string value of credit student registration option. Must convert to KualiDecimal.Copyright © 2004–2014 The Kuali Foundation. All rights reserved.