|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.student.enrollment.class2.courseregistration.service.impl.AbstractCourseRegistrationService
org.kuali.student.enrollment.class2.courseregistration.service.impl.CourseRegistrationServiceMockImpl
public class CourseRegistrationServiceMockImpl
Constructor Summary | |
---|---|
CourseRegistrationServiceMockImpl()
|
Method Summary | |
---|---|
CreditLoadInfo |
calculateCreditLoadForStudentRegistrationRequest(String registrationRequestId,
String studentId,
ContextInfo contextInfo)
Calculate the credit load for a given student in a given RegistrationRequest. |
List<ValidationResultInfo> |
checkStudentEligibility(String studentId,
ContextInfo contextInfo)
Checks if a student is eligible to enter the registration process. |
List<ValidationResultInfo> |
checkStudentEligibilityForTerm(String studentId,
String termId,
ContextInfo contextInfo)
Checks the eligibility of a student to register in a particular term. |
List<ValidationResultInfo> |
checkStudentEligibiltyForCourseOffering(String studentId,
String courseOfferingId,
ContextInfo contextInfo)
Checks if the student is eligible to register for a particular course offering. |
List<ValidationResultInfo> |
checkStudentEligibiltyForRegistrationGroup(String studentId,
String registrationGroupId,
ContextInfo contextInfo)
Checks if the student is eligible to register for a particular registration group. |
void |
clear()
Clear all cached service data. |
RegistrationRequestInfo |
createRegistrationRequest(String registrationRequestTypeKey,
RegistrationRequestInfo registrationRequestInfo,
ContextInfo contextInfo)
Creates a new RegistrationRequest. |
RegistrationRequestInfo |
createRegistrationRequestFromExisting(String registrationRequestId,
ContextInfo contextInfo)
A utiligy to create a new RegistrationRequest from an existing RegistrationRequest. |
StatusInfo |
deleteRegistrationRequest(String registrationRequestId,
ContextInfo contextInfo)
Deletes an existing RegistrationRequest. |
ActivityRegistrationInfo |
getActivityRegistration(String activityRegistrationId,
ContextInfo contextInfo)
Retrieves a single ActivityRegistration by an ActivityRegistration Id. |
List<String> |
getActivityRegistrationIdsByType(String activityRegistrationTypeKey,
ContextInfo contextInfo)
Retrieve a list of ActivityRegistrationIds by ActivityRegistration Type. |
List<ActivityRegistrationInfo> |
getActivityRegistrations(ContextInfo contextInfo)
|
List<ActivityRegistrationInfo> |
getActivityRegistrationsByActivityOffering(String activityOfferingId,
ContextInfo contextInfo)
Gets a list of ActivityRegistrations for a given ActivityOffering. |
List<ActivityRegistrationInfo> |
getActivityRegistrationsByIds(List<String> activityRegistrationIds,
ContextInfo contextInfo)
Retrieve a list of ActivityRegistrations from a list of ActivityRegistration Ids. |
List<ActivityRegistrationInfo> |
getActivityRegistrationsByStudent(String studentId,
ContextInfo contextInfo)
Gets a list of ActivityRegistrations for a given Student. |
List<ActivityRegistrationInfo> |
getActivityRegistrationsByStudentAndActivityOffering(String studentId,
String activityOfferingId,
ContextInfo contextInfo)
Gets a list of ActivityRegistrations for a given Student and ActivityOffering. |
List<ActivityRegistrationInfo> |
getActivityRegistrationsByStudentAndTerm(String studentId,
String termId,
ContextInfo contextInfo)
Gets a list of ActivityRegistrations for a given Student and Term. |
List<ActivityRegistrationInfo> |
getActivityRegistrationsForCourseRegistration(String courseRegistrationId,
ContextInfo contextInfo)
Gets a list of ActivityRegistrations for a CourseRegistration. |
CourseOfferingService |
getCourseOfferingService()
|
CourseRegistrationInfo |
getCourseRegistration(String courseRegistrationId,
ContextInfo contextInfo)
Retrieves a single CourseRegistration by an CourseRegistration Id. |
List<String> |
getCourseRegistrationIdsByType(String courseRegistrationTypeKey,
ContextInfo contextInfo)
Retrieve a list of CourseRegistrationIds by CourseRegistration Type. |
List<CourseRegistrationInfo> |
getCourseRegistrations(ContextInfo contextInfo)
|
List<CourseRegistrationInfo> |
getCourseRegistrationsByCourseOffering(String courseOfferingId,
ContextInfo contextInfo)
Gets a list of CourseRegistrations for a given CourseOffering. |
List<CourseRegistrationInfo> |
getCourseRegistrationsByIds(List<String> courseRegistrationIds,
ContextInfo contextInfo)
Retrieve a list of CourseRegistrations from a list of CourseRegistration Ids. |
List<CourseRegistrationInfo> |
getCourseRegistrationsByStudent(String studentId,
ContextInfo contextInfo)
Gets a list of CourseRegistrations for a given Student. |
List<CourseRegistrationInfo> |
getCourseRegistrationsByStudentAndCourseOffering(String studentId,
String courseOfferingId,
ContextInfo contextInfo)
Gets a list of CourseRegistrations for a given Student and CourseOffering. |
List<CourseRegistrationInfo> |
getCourseRegistrationsByStudentAndTerm(String studentId,
String termId,
ContextInfo contextInfo)
Gets a list of CourseRegistrations for a given Student and Term. |
RegistrationRequestInfo |
getRegistrationRequest(String registrationRequestId,
ContextInfo contextInfo)
Retrieves a single RegistrationRequest by an RegistrationRequest Id. |
List<String> |
getRegistrationRequestIdsByType(String registrationRequestTypeKey,
ContextInfo contextInfo)
Retrieve a list of RegistrationRequestIds by RegistrationRequest Type. |
List<RegistrationRequestItemInfo> |
getRegistrationRequestItemsByCourseOfferingAndStudent(String courseOfferingId,
String studentId,
ContextInfo contextInfo)
Gets list of RegistrationRequestItems resulting in or impacting a Student's registration in a CourseOffering. |
List<RegistrationRequestItemInfo> |
getRegistrationRequestItemsForCourseRegistration(String courseRegistrationId,
ContextInfo contextInfo)
Gets the RegistrationRequestItems that resulted in or impacted the given CourseRegistration. |
List<RegistrationRequestInfo> |
getRegistrationRequests(ContextInfo contextInfo)
|
List<RegistrationRequestInfo> |
getRegistrationRequestsByIds(List<String> registrationRequestIds,
ContextInfo contextInfo)
Retrieve a list of RegistrationRequests from a list of RegistrationRequest Ids. |
List<RegistrationRequestInfo> |
getRegistrationRequestsByRequestor(String personId,
ContextInfo contextInfo)
Gets a list of RegistrationRequests by requesting person Id. |
List<RegistrationRequestInfo> |
getUnsubmittedRegistrationRequestsByRequestorAndTerm(String requestorId,
String termId,
ContextInfo contextInfo)
Gets a list of unsubmitted RegistrationRequests by requesting person Id and Term. |
List<String> |
searchForActivityRegistrationIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for ActivityRegistrations that meet the given search criteria. |
List<String> |
searchForCourseRegistrationIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for CourseRegistrations that meet the given search criteria. |
List<String> |
searchForRegistrationRequestIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for RegistrationRequests that meet the given search criteria. |
void |
setCourseOfferingService(CourseOfferingService coService)
|
RegistrationResponseInfo |
submitRegistrationRequest(String registrationRequestId,
ContextInfo contextInfo)
Submits a RegsitrationRequest. |
RegistrationRequestInfo |
updateRegistrationRequest(String registrationRequestId,
RegistrationRequestInfo registrationRequestInfo,
ContextInfo contextInfo)
Updates an existing RegistrationRequest. |
List<ValidationResultInfo> |
validateRegistrationRequest(String validationTypeKey,
String registrationRequestTypeKey,
RegistrationRequestInfo registrationRequestInfo,
ContextInfo contextInfo)
Validates an RegistrationRequest. |
List<ValidationResultInfo> |
verifyRegistrationRequestForSubmission(String registrationRequestId,
ContextInfo contextInfo)
Verifies a persisted RegistrationRequest for submission. |
Methods inherited from class org.kuali.student.enrollment.class2.courseregistration.service.impl.AbstractCourseRegistrationService |
---|
getEligibleRegistrationGroupsForStudentInCourseOffering, searchForActivityRegistrations, searchForCourseRegistrations, searchForRegistrationRequests |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.student.enrollment.courseregistration.service.CourseRegistrationService |
---|
getEligibleRegistrationGroupsForStudentInCourseOffering, searchForActivityRegistrations, searchForCourseRegistrations, searchForRegistrationRequests |
Constructor Detail |
---|
public CourseRegistrationServiceMockImpl()
Method Detail |
---|
public void clear()
MockService
clear
in interface MockService
public CourseOfferingService getCourseOfferingService()
public void setCourseOfferingService(CourseOfferingService coService)
public CourseRegistrationInfo getCourseRegistration(String courseRegistrationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getCourseRegistration
in interface CourseRegistrationService
getCourseRegistration
in class AbstractCourseRegistrationService
courseRegistrationId
- the identifier for the
CourseRegistration to be retrievedcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- courseRegistrationId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- courseRegistrationId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrations(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
public List<CourseRegistrationInfo> getCourseRegistrationsByIds(List<String> courseRegistrationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getCourseRegistrationsByIds
in interface CourseRegistrationService
getCourseRegistrationsByIds
in class AbstractCourseRegistrationService
courseRegistrationIds
- a list of CourseRegistration identifierscontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- a courseRegistrationId in the
list was not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- courseRegistrationIds, an Id
in courseRegistrationIds, or contextInfo is missing or
null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<String> getCourseRegistrationIdsByType(String courseRegistrationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getCourseRegistrationIdsByType
in interface CourseRegistrationService
getCourseRegistrationIdsByType
in class AbstractCourseRegistrationService
courseRegistrationTypeKey
- an identifier for an
CourseRegistration TypecontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- courseRegistrationTypeKey
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrationsByStudent(String studentId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getCourseRegistrationsByStudent
in interface CourseRegistrationService
getCourseRegistrationsByStudent
in class AbstractCourseRegistrationService
studentId
- an identifier for a StudentcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId or contextInfo is
missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrationsByCourseOffering(String courseOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getCourseRegistrationsByCourseOffering
in interface CourseRegistrationService
getCourseRegistrationsByCourseOffering
in class AbstractCourseRegistrationService
courseOfferingId
- an identifier for a CourseOfferingcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- courseOfferingId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrationsByStudentAndCourseOffering(String studentId, String courseOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getCourseRegistrationsByStudentAndCourseOffering
in interface CourseRegistrationService
getCourseRegistrationsByStudentAndCourseOffering
in class AbstractCourseRegistrationService
studentId
- an identifier for a StudentcourseOfferingId
- an identifier for a CourseOfferingcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId, courseOfferingId,
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrationsByStudentAndTerm(String studentId, String termId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getCourseRegistrationsByStudentAndTerm
in interface CourseRegistrationService
getCourseRegistrationsByStudentAndTerm
in class AbstractCourseRegistrationService
studentId
- an identifier for a StudenttermId
- an identifier for a TermcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId, termId,
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<String> searchForCourseRegistrationIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
searchForCourseRegistrationIds
in interface CourseRegistrationService
searchForCourseRegistrationIds
in class AbstractCourseRegistrationService
criteria
- the search criteriacontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- criteria or contextInfo is
not valid
MissingParameterException
- criteria or or contextInfo is
missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic ActivityRegistrationInfo getActivityRegistration(String activityRegistrationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistration
in interface CourseRegistrationService
getActivityRegistration
in class AbstractCourseRegistrationService
activityRegistrationId
- the identifier for the
ActivityRegistration to be retrievedcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- activityRegistrationId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- activityRegistrationId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrations(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
public List<ActivityRegistrationInfo> getActivityRegistrationsByIds(List<String> activityRegistrationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationsByIds
in interface CourseRegistrationService
getActivityRegistrationsByIds
in class AbstractCourseRegistrationService
activityRegistrationIds
- a list of ActivityRegistration
identifierscontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- a activityRegistrationId in the
list was not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- activityRegistrationIds, an Id in
activityRegistrationIds, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<String> getActivityRegistrationIdsByType(String activityRegistrationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationIdsByType
in interface CourseRegistrationService
getActivityRegistrationIdsByType
in class AbstractCourseRegistrationService
activityRegistrationTypeKey
- an identifier for an
ActivityRegistration TypecontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- activityRegistrationTypeKey
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsForCourseRegistration(String courseRegistrationId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationsForCourseRegistration
in interface CourseRegistrationService
getActivityRegistrationsForCourseRegistration
in class AbstractCourseRegistrationService
courseRegistrationId
- an identifier for a CourseRegistrationcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- courseRegistrationId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsByStudent(String studentId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationsByStudent
in interface CourseRegistrationService
getActivityRegistrationsByStudent
in class AbstractCourseRegistrationService
studentId
- an identifier for a StudentcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId or contextInfo is
missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsByActivityOffering(String activityOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationsByActivityOffering
in interface CourseRegistrationService
getActivityRegistrationsByActivityOffering
in class AbstractCourseRegistrationService
activityOfferingId
- an identifier for a ActivityOfferingcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- courseOfferingId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsByStudentAndActivityOffering(String studentId, String activityOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationsByStudentAndActivityOffering
in interface CourseRegistrationService
getActivityRegistrationsByStudentAndActivityOffering
in class AbstractCourseRegistrationService
studentId
- an identifier for a StudentactivityOfferingId
- an identifier for a ActivityOfferingcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId, courseOfferingId,
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsByStudentAndTerm(String studentId, String termId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationsByStudentAndTerm
in interface CourseRegistrationService
getActivityRegistrationsByStudentAndTerm
in class AbstractCourseRegistrationService
studentId
- an identifier for a StudenttermId
- an identifier for a TermcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId, termId,
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<String> searchForActivityRegistrationIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
searchForActivityRegistrationIds
in interface CourseRegistrationService
searchForActivityRegistrationIds
in class AbstractCourseRegistrationService
criteria
- the search criteriacontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- criteria or contextInfo is
not valid
MissingParameterException
- criteria or or contextInfo is
missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic RegistrationRequestInfo getRegistrationRequest(String registrationRequestId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getRegistrationRequest
in interface CourseRegistrationService
getRegistrationRequest
in class AbstractCourseRegistrationService
registrationRequestId
- the identifier for the
RegistrationRequest to be retrievedcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- registrationRequestId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- registrationRequestId or contextInfo is
missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<RegistrationRequestInfo> getRegistrationRequests(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
public List<RegistrationRequestInfo> getRegistrationRequestsByIds(List<String> registrationRequestIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getRegistrationRequestsByIds
in interface CourseRegistrationService
getRegistrationRequestsByIds
in class AbstractCourseRegistrationService
registrationRequestIds
- a list of RegistrationRequest
identifierscontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- a registrationRequestId in the
list was not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- registrationRequestIds, an Id in
registrationRequestIds, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<String> getRegistrationRequestIdsByType(String registrationRequestTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getRegistrationRequestIdsByType
in interface CourseRegistrationService
getRegistrationRequestIdsByType
in class AbstractCourseRegistrationService
registrationRequestTypeKey
- an identifier for an
RegistrationRequest TypecontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- registrationRequestTypeKey or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<RegistrationRequestInfo> getRegistrationRequestsByRequestor(String personId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getRegistrationRequestsByRequestor
in interface CourseRegistrationService
getRegistrationRequestsByRequestor
in class AbstractCourseRegistrationService
personId
- an identifier for a PersoncontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- personId
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<RegistrationRequestInfo> getUnsubmittedRegistrationRequestsByRequestorAndTerm(String requestorId, String termId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getUnsubmittedRegistrationRequestsByRequestorAndTerm
in interface CourseRegistrationService
getUnsubmittedRegistrationRequestsByRequestorAndTerm
in class AbstractCourseRegistrationService
termId
- an identifier for a TermcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- personId, termId,
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<String> searchForRegistrationRequestIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
searchForRegistrationRequestIds
in interface CourseRegistrationService
searchForRegistrationRequestIds
in class AbstractCourseRegistrationService
criteria
- the search criteriacontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- criteria or contextInfo is
not valid
MissingParameterException
- criteria or or contextInfo is
missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> validateRegistrationRequest(String validationTypeKey, String registrationRequestTypeKey, RegistrationRequestInfo registrationRequestInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
validateRegistrationRequest
in interface CourseRegistrationService
validateRegistrationRequest
in class AbstractCourseRegistrationService
validationTypeKey
- the identifier for the validation TyperegistrationRequestTypeKey
- the identifier for the
RegistrationRequest Type to be validatedregistrationRequestInfo
- the RegistrationRequest to be validatedcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- validationTypeKey or
registrationRequestTypeKey is not found
InvalidParameterException
- registrationRequestInfo or
contextInfo is not valid
MissingParameterException
- validationTypeKey,
registrationRequestTypeKey, registrationRequestInfo, or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic RegistrationRequestInfo createRegistrationRequest(String registrationRequestTypeKey, RegistrationRequestInfo registrationRequestInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseRegistrationService
createRegistrationRequest
in interface CourseRegistrationService
createRegistrationRequest
in class AbstractCourseRegistrationService
registrationRequestTypeKey
- the identifier for the Type
of RegistrationRequest to be createdregistrationRequestInfo
- the data with which to create
the RegistrationRequestcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- registrationRequestTypeKey does
not exist or is not supported
InvalidParameterException
- registrationRequestInfo or
contextInfo is not valid
MissingParameterException
- registrationRequestTypeKey,
registrationRequestInfo, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
ReadOnlyException
- an attempt at supplying information
designated as read onlypublic RegistrationRequestInfo createRegistrationRequestFromExisting(String registrationRequestId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
createRegistrationRequestFromExisting
in interface CourseRegistrationService
createRegistrationRequestFromExisting
in class AbstractCourseRegistrationService
registrationRequestId
- a RegistrationRequest from which to create
the new onecontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- registrationRequestId does
not exist
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- registrationRequestId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic RegistrationRequestInfo updateRegistrationRequest(String registrationRequestId, RegistrationRequestInfo registrationRequestInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseRegistrationService
updateRegistrationRequest
in interface CourseRegistrationService
updateRegistrationRequest
in class AbstractCourseRegistrationService
registrationRequestId
- the identifier for the
RegistrationRequest to be updatedregistrationRequestInfo
- the new data for the RegistrationRequestcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DataValidationErrorException
- supplied data is invalid
DoesNotExistException
- registrationRequestId is not found
InvalidParameterException
- registrationRequestInfo or
contextInfo is not valid
MissingParameterException
- registrationRequestId,
registrationRequestInfo, or contextInfo is missing or
null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
ReadOnlyException
- an attempt at supplying information
designated as read only
VersionMismatchException
- an optimistic locking failure
or the action was attempted on an out of date versionpublic StatusInfo deleteRegistrationRequest(String registrationRequestId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
deleteRegistrationRequest
in interface CourseRegistrationService
deleteRegistrationRequest
in class AbstractCourseRegistrationService
registrationRequestId
- the identifier for the
RegistrationRequest to be deletedcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- registrationRequestId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- registrationRequestId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> verifyRegistrationRequestForSubmission(String registrationRequestId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
verifyRegistrationRequestForSubmission
in interface CourseRegistrationService
verifyRegistrationRequestForSubmission
in class AbstractCourseRegistrationService
registrationRequestId
- an identifier for a
RegistrationRequestcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- registrationRequestId
is not found
InvalidParameterException
- contextInfo is not valid
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
MissingParameterException
public RegistrationResponseInfo submitRegistrationRequest(String registrationRequestId, ContextInfo contextInfo) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
submitRegistrationRequest
in interface CourseRegistrationService
submitRegistrationRequest
in class AbstractCourseRegistrationService
registrationRequestId
- an identifier for a RegistrationRequestcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
AlreadyExistsException
- When the reg request is already submitted
DoesNotExistException
- registrationRequestId
is not found
InvalidParameterException
- contextInfo is not valid
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
MissingParameterException
public List<RegistrationRequestItemInfo> getRegistrationRequestItemsForCourseRegistration(String courseRegistrationId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getRegistrationRequestItemsForCourseRegistration
in interface CourseRegistrationService
getRegistrationRequestItemsForCourseRegistration
in class AbstractCourseRegistrationService
courseRegistrationId
- an identifier for a CourseRegistrationcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- personId
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<RegistrationRequestItemInfo> getRegistrationRequestItemsByCourseOfferingAndStudent(String courseOfferingId, String studentId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getRegistrationRequestItemsByCourseOfferingAndStudent
in interface CourseRegistrationService
getRegistrationRequestItemsByCourseOfferingAndStudent
in class AbstractCourseRegistrationService
courseOfferingId
- an identifier for a CourseOfferingstudentId
- an identifier for a StudentcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- courseOfferingId, personId,
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> checkStudentEligibility(String studentId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
checkStudentEligibility
in interface CourseRegistrationService
checkStudentEligibility
in class AbstractCourseRegistrationService
studentId
- Identifier of the studentcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- studentId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId or contextInfo is
missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> checkStudentEligibilityForTerm(String studentId, String termId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
checkStudentEligibilityForTerm
in interface CourseRegistrationService
checkStudentEligibilityForTerm
in class AbstractCourseRegistrationService
studentId
- an identifier of a StudenttermId
- an identifier of a TermcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- studentId or termId is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId, termId, or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> checkStudentEligibiltyForCourseOffering(String studentId, String courseOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
checkStudentEligibiltyForCourseOffering
in interface CourseRegistrationService
checkStudentEligibiltyForCourseOffering
in class AbstractCourseRegistrationService
studentId
- an identifier of a StudentcourseOfferingId
- an identifier of a CourseOfferingcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- studentId or courseOfferingId is
not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId, courseOfferingId,
or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> checkStudentEligibiltyForRegistrationGroup(String studentId, String registrationGroupId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
checkStudentEligibiltyForRegistrationGroup
in interface CourseRegistrationService
checkStudentEligibiltyForRegistrationGroup
in class AbstractCourseRegistrationService
studentId
- an identifier of a StudentregistrationGroupId
- an identifier of a RegistrationGroupcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- studentId or registrationGroupId
is not found
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- studentId,
registrationGroupId, or contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurredpublic CreditLoadInfo calculateCreditLoadForStudentRegistrationRequest(String registrationRequestId, String studentId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
calculateCreditLoadForStudentRegistrationRequest
in interface CourseRegistrationService
calculateCreditLoadForStudentRegistrationRequest
in class AbstractCourseRegistrationService
registrationRequestId
- an identifier of a RegistrationRequeststudentId
- an identifier of a StudentcontextInfo
- information containing the principalId and
locale information about the caller of the service
operation
DoesNotExistException
- registrationRequestId is not
found or studentId not in RegistrationRequest
InvalidParameterException
- contextInfo is not valid
MissingParameterException
- registrationRequestId, or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |