public class CourseRegistrationServiceMockImpl2 extends AbstractCourseRegistrationService implements CourseRegistrationService, MockService
| Constructor and Description |
|---|
CourseRegistrationServiceMockImpl2() |
| Modifier and Type | Method and Description |
|---|---|
CreditLoadInfo |
calculateCreditLoadForStudentRegistrationRequest(String registrationRequestId,
String studentId,
ContextInfo contextInfo)
Calculate the credit load for a given student in a given
RegistrationRequest.
|
StatusInfo |
changeRegistrationRequestState(String registrationRequestId,
String nextStateKey,
ContextInfo contextInfo)
Updates the state of an existing RegistrationRequest to another
state provided that it is valid to do so.
|
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 a 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.
|
List<String[]> |
getFakeRegistrations() |
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(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for ActivityRegistrations that meet the given search
criteria.
|
List<String> |
searchForCourseRegistrationIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for CourseRegistrations that meet the given search
criteria.
|
List<String> |
searchForRegistrationRequestIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for RegistrationRequests that meet the given search
criteria.
|
void |
setCourseOfferingService(CourseOfferingService coService) |
void |
setFakeRegistrations(List<String[]> fakeRegistrations) |
RegistrationRequestInfo |
submitRegistrationRequest(String registrationRequestId,
ContextInfo contextInfo)
Submits a RegsitrationRequest.
|
RegistrationRequestInfo |
updateRegistrationRequest(String registrationRequestId,
RegistrationRequestInfo registrationRequestInfo,
ContextInfo contextInfo)
Updates an existing Registration Request.
|
List<ValidationResultInfo> |
validateRegistrationRequest(String validationTypeKey,
String registrationRequestTypeKey,
RegistrationRequestInfo registrationRequestInfo,
ContextInfo contextInfo)
Validates a RegistrationRequest.
|
List<ValidationResultInfo> |
verifyRegistrationRequestForSubmission(String registrationRequestId,
ContextInfo contextInfo)
Verifies a persisted RegistrationRequest for
submission.
|
changeRegistrationRequestItem, getEligibleRegistrationGroupsForStudentInCourseOffering, getRegistrationRequestItem, getRegistrationRequestItemIdsByType, getRegistrationRequestItemsByIds, searchForActivityRegistrations, searchForCourseRegistrations, searchForRegistrationRequestItemIds, searchForRegistrationRequestItems, searchForRegistrationRequests, validateRegistrationRequestItemclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeRegistrationRequestItem, getEligibleRegistrationGroupsForStudentInCourseOffering, getRegistrationRequestItem, getRegistrationRequestItemIdsByType, getRegistrationRequestItemsByIds, searchForActivityRegistrations, searchForCourseRegistrations, searchForRegistrationRequestItemIds, searchForRegistrationRequestItems, searchForRegistrationRequests, validateRegistrationRequestItempublic CourseRegistrationServiceMockImpl2()
public List<String[]> getFakeRegistrations()
public void setFakeRegistrations(List<String[]> fakeRegistrations)
public void clear()
MockServiceclear in interface MockServicepublic CourseOfferingService getCourseOfferingService()
public void setCourseOfferingService(CourseOfferingService coService)
public CourseRegistrationInfo getCourseRegistration(String courseRegistrationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetCourseRegistration in interface CourseRegistrationServicegetCourseRegistration in class AbstractCourseRegistrationServicecourseRegistrationId - the identifier for the
CourseRegistration to be retrievedcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - courseRegistrationId is not foundInvalidParameterException - contextInfo is not validMissingParameterException - courseRegistrationId or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrations(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
public List<CourseRegistrationInfo> getCourseRegistrationsByIds(List<String> courseRegistrationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetCourseRegistrationsByIds in interface CourseRegistrationServicegetCourseRegistrationsByIds in class AbstractCourseRegistrationServicecourseRegistrationIds - a list of CourseRegistration identifierscontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - a courseRegistrationId in the
list was not foundInvalidParameterException - contextInfo is not validMissingParameterException - courseRegistrationIds, an Id
in courseRegistrationIds, or contextInfo is missing or
nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<String> getCourseRegistrationIdsByType(String courseRegistrationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetCourseRegistrationIdsByType in interface CourseRegistrationServicegetCourseRegistrationIdsByType in class AbstractCourseRegistrationServicecourseRegistrationTypeKey - an identifier for an
CourseRegistration TypecontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - courseRegistrationTypeKey
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrationsByStudent(String studentId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetCourseRegistrationsByStudent in interface CourseRegistrationServicegetCourseRegistrationsByStudent in class AbstractCourseRegistrationServicestudentId - an identifier for a StudentcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - studentId or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrationsByCourseOffering(String courseOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetCourseRegistrationsByCourseOffering in interface CourseRegistrationServicegetCourseRegistrationsByCourseOffering in class AbstractCourseRegistrationServicecourseOfferingId - an identifier for a CourseOfferingcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - courseOfferingId or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrationsByStudentAndCourseOffering(String studentId, String courseOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetCourseRegistrationsByStudentAndCourseOffering in interface CourseRegistrationServicegetCourseRegistrationsByStudentAndCourseOffering in class AbstractCourseRegistrationServicestudentId - an identifier for a StudentcourseOfferingId - an identifier for a CourseOfferingcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - studentId, courseOfferingId,
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<CourseRegistrationInfo> getCourseRegistrationsByStudentAndTerm(String studentId, String termId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetCourseRegistrationsByStudentAndTerm in interface CourseRegistrationServicegetCourseRegistrationsByStudentAndTerm in class AbstractCourseRegistrationServicestudentId - an identifier for a StudenttermId - an identifier for a TermcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - studentId, termId,
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<String> searchForCourseRegistrationIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicesearchForCourseRegistrationIds in interface CourseRegistrationServicesearchForCourseRegistrationIds in class AbstractCourseRegistrationServicecriteria - the search criteriacontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - criteria or contextInfo is
not validMissingParameterException - criteria or or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic ActivityRegistrationInfo getActivityRegistration(String activityRegistrationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetActivityRegistration in interface CourseRegistrationServicegetActivityRegistration in class AbstractCourseRegistrationServiceactivityRegistrationId - the identifier for the
ActivityRegistration to be retrievedcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - activityRegistrationId is not foundInvalidParameterException - contextInfo is not validMissingParameterException - activityRegistrationId or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrations(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
public List<ActivityRegistrationInfo> getActivityRegistrationsByIds(List<String> activityRegistrationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetActivityRegistrationsByIds in interface CourseRegistrationServicegetActivityRegistrationsByIds in class AbstractCourseRegistrationServiceactivityRegistrationIds - a list of ActivityRegistration
identifierscontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - a activityRegistrationId in the
list was not foundInvalidParameterException - contextInfo is not validMissingParameterException - activityRegistrationIds, an Id in
activityRegistrationIds, or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<String> getActivityRegistrationIdsByType(String activityRegistrationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetActivityRegistrationIdsByType in interface CourseRegistrationServicegetActivityRegistrationIdsByType in class AbstractCourseRegistrationServiceactivityRegistrationTypeKey - an identifier for an
ActivityRegistration TypecontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - activityRegistrationTypeKey
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsForCourseRegistration(String courseRegistrationId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetActivityRegistrationsForCourseRegistration in interface CourseRegistrationServicegetActivityRegistrationsForCourseRegistration in class AbstractCourseRegistrationServicecourseRegistrationId - an identifier for a CourseRegistrationcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - courseRegistrationId or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsByStudent(String studentId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetActivityRegistrationsByStudent in interface CourseRegistrationServicegetActivityRegistrationsByStudent in class AbstractCourseRegistrationServicestudentId - an identifier for a StudentcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - studentId or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsByActivityOffering(String activityOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetActivityRegistrationsByActivityOffering in interface CourseRegistrationServicegetActivityRegistrationsByActivityOffering in class AbstractCourseRegistrationServiceactivityOfferingId - an identifier for a ActivityOfferingcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - courseOfferingId or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsByStudentAndActivityOffering(String studentId, String activityOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetActivityRegistrationsByStudentAndActivityOffering in interface CourseRegistrationServicegetActivityRegistrationsByStudentAndActivityOffering in class AbstractCourseRegistrationServicestudentId - an identifier for a StudentactivityOfferingId - an identifier for a ActivityOfferingcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - studentId, courseOfferingId,
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ActivityRegistrationInfo> getActivityRegistrationsByStudentAndTerm(String studentId, String termId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetActivityRegistrationsByStudentAndTerm in interface CourseRegistrationServicegetActivityRegistrationsByStudentAndTerm in class AbstractCourseRegistrationServicestudentId - an identifier for a StudenttermId - an identifier for a TermcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - studentId, termId,
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<String> searchForActivityRegistrationIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicesearchForActivityRegistrationIds in interface CourseRegistrationServicesearchForActivityRegistrationIds in class AbstractCourseRegistrationServicecriteria - the search criteriacontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - criteria or contextInfo is
not validMissingParameterException - criteria or or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic RegistrationRequestInfo getRegistrationRequest(String registrationRequestId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetRegistrationRequest in interface CourseRegistrationServicegetRegistrationRequest in class AbstractCourseRegistrationServiceregistrationRequestId - the identifier for the
RegistrationRequest to be retrievedcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - registrationRequestId is not foundInvalidParameterException - contextInfo is not validMissingParameterException - registrationRequestId or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<RegistrationRequestInfo> getRegistrationRequests(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
public List<RegistrationRequestInfo> getRegistrationRequestsByIds(List<String> registrationRequestIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetRegistrationRequestsByIds in interface CourseRegistrationServicegetRegistrationRequestsByIds in class AbstractCourseRegistrationServiceregistrationRequestIds - a list of RegistrationRequest
identifierscontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - a registrationRequestId in the
list was not foundInvalidParameterException - contextInfo is not validMissingParameterException - registrationRequestIds, an Id in
registrationRequestIds, or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<String> getRegistrationRequestIdsByType(String registrationRequestTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetRegistrationRequestIdsByType in interface CourseRegistrationServicegetRegistrationRequestIdsByType in class AbstractCourseRegistrationServiceregistrationRequestTypeKey - an identifier for an
RegistrationRequest TypecontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - registrationRequestTypeKey or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<RegistrationRequestInfo> getRegistrationRequestsByRequestor(String personId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetRegistrationRequestsByRequestor in interface CourseRegistrationServicegetRegistrationRequestsByRequestor in class AbstractCourseRegistrationServicepersonId - an identifier for a PersoncontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - personId
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<RegistrationRequestInfo> getUnsubmittedRegistrationRequestsByRequestorAndTerm(String requestorId, String termId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetUnsubmittedRegistrationRequestsByRequestorAndTerm in interface CourseRegistrationServicegetUnsubmittedRegistrationRequestsByRequestorAndTerm in class AbstractCourseRegistrationServicerequestorId - an identifier for the person who is authoring the requesttermId - an identifier for a TermcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - personId, termId,
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<String> searchForRegistrationRequestIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicesearchForRegistrationRequestIds in interface CourseRegistrationServicesearchForRegistrationRequestIds in class AbstractCourseRegistrationServicecriteria - the search criteriacontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - criteria or contextInfo is
not validMissingParameterException - criteria or or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ValidationResultInfo> validateRegistrationRequest(String validationTypeKey, String registrationRequestTypeKey, RegistrationRequestInfo registrationRequestInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicevalidateRegistrationRequest in interface CourseRegistrationServicevalidateRegistrationRequest in class AbstractCourseRegistrationServicevalidationTypeKey - 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
operationDoesNotExistException - validationTypeKey or
registrationRequestTypeKey is not foundInvalidParameterException - registrationRequestInfo or
contextInfo is not validMissingParameterException - validationTypeKey,
registrationRequestTypeKey, registrationRequestInfo, or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic RegistrationRequestInfo createRegistrationRequest(String registrationRequestTypeKey, RegistrationRequestInfo registrationRequestInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseRegistrationServicecreateRegistrationRequest in interface CourseRegistrationServicecreateRegistrationRequest in class AbstractCourseRegistrationServiceregistrationRequestTypeKey - 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
operationDataValidationErrorException - supplied data is invalidDoesNotExistException - registrationRequestTypeKey does
not exist or is not supportedInvalidParameterException - registrationRequestInfo or
contextInfo is not validMissingParameterException - registrationRequestTypeKey,
registrationRequestInfo, or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredReadOnlyException - an attempt at supplying information
designated as read onlypublic RegistrationRequestInfo createRegistrationRequestFromExisting(String registrationRequestId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicecreateRegistrationRequestFromExisting in interface CourseRegistrationServicecreateRegistrationRequestFromExisting in class AbstractCourseRegistrationServiceregistrationRequestId - a RegistrationRequest from which to create
the new onecontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - registrationRequestId does
not existInvalidParameterException - contextInfo is not validMissingParameterException - registrationRequestId or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic RegistrationRequestInfo updateRegistrationRequest(String registrationRequestId, RegistrationRequestInfo registrationRequestInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseRegistrationServiceupdateRegistrationRequest in interface CourseRegistrationServiceupdateRegistrationRequest in class AbstractCourseRegistrationServiceregistrationRequestId - 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
operationDataValidationErrorException - supplied data is invalidDoesNotExistException - registrationRequestId is not foundInvalidParameterException - registrationRequestInfo or
contextInfo is not validMissingParameterException - registrationRequestId,
registrationRequestInfo, or contextInfo is missing or
nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredReadOnlyException - an attempt at supplying information
designated as read onlyVersionMismatchException - 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
CourseRegistrationServicedeleteRegistrationRequest in interface CourseRegistrationServicedeleteRegistrationRequest in class AbstractCourseRegistrationServiceregistrationRequestId - the identifier for the
RegistrationRequest to be deletedcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - registrationRequestId is not foundInvalidParameterException - contextInfo is not validMissingParameterException - registrationRequestId or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - authorization failurepublic List<ValidationResultInfo> verifyRegistrationRequestForSubmission(String registrationRequestId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServiceverifyRegistrationRequestForSubmission in interface CourseRegistrationServiceverifyRegistrationRequestForSubmission in class AbstractCourseRegistrationServiceregistrationRequestId - an identifier for a
RegistrationRequestcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - registrationRequestId
is not foundInvalidParameterException - contextInfo is not validMissingParameterException - registrationRequestId or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic RegistrationRequestInfo submitRegistrationRequest(String registrationRequestId, ContextInfo contextInfo) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicesubmitRegistrationRequest in interface CourseRegistrationServicesubmitRegistrationRequest in class AbstractCourseRegistrationServiceregistrationRequestId - an identifier for a RegistrationRequestcontextInfo - information containing the principalId and
locale information about the caller of the service
operationAlreadyExistsException - When the reg request is already submittedDoesNotExistException - registrationRequestId
is not foundInvalidParameterException - contextInfo is not validMissingParameterException - registrationRequestId or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<RegistrationRequestItemInfo> getRegistrationRequestItemsForCourseRegistration(String courseRegistrationId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetRegistrationRequestItemsForCourseRegistration in interface CourseRegistrationServicegetRegistrationRequestItemsForCourseRegistration in class AbstractCourseRegistrationServicecourseRegistrationId - an identifier for a CourseRegistrationcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - personId
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<RegistrationRequestItemInfo> getRegistrationRequestItemsByCourseOfferingAndStudent(String courseOfferingId, String studentId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicegetRegistrationRequestItemsByCourseOfferingAndStudent in interface CourseRegistrationServicegetRegistrationRequestItemsByCourseOfferingAndStudent in class AbstractCourseRegistrationServicecourseOfferingId - an identifier for a CourseOfferingstudentId - an identifier for a StudentcontextInfo - information containing the principalId and
locale information about the caller of the service
operationInvalidParameterException - contextInfo is not validMissingParameterException - courseOfferingId, personId,
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ValidationResultInfo> checkStudentEligibility(String studentId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicecheckStudentEligibility in interface CourseRegistrationServicecheckStudentEligibility in class AbstractCourseRegistrationServicestudentId - Identifier of the studentcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - studentId is not foundInvalidParameterException - contextInfo is not validMissingParameterException - studentId or contextInfo is
missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ValidationResultInfo> checkStudentEligibilityForTerm(String studentId, String termId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicecheckStudentEligibilityForTerm in interface CourseRegistrationServicecheckStudentEligibilityForTerm in class AbstractCourseRegistrationServicestudentId - an identifier of a StudenttermId - an identifier of a TermcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - studentId or termId is not foundInvalidParameterException - contextInfo is not validMissingParameterException - studentId, termId, or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ValidationResultInfo> checkStudentEligibiltyForCourseOffering(String studentId, String courseOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicecheckStudentEligibiltyForCourseOffering in interface CourseRegistrationServicecheckStudentEligibiltyForCourseOffering in class AbstractCourseRegistrationServicestudentId - an identifier of a StudentcourseOfferingId - an identifier of a CourseOfferingcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - studentId or courseOfferingId is
not foundInvalidParameterException - contextInfo is not validMissingParameterException - studentId, courseOfferingId,
or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic List<ValidationResultInfo> checkStudentEligibiltyForRegistrationGroup(String studentId, String registrationGroupId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicecheckStudentEligibiltyForRegistrationGroup in interface CourseRegistrationServicecheckStudentEligibiltyForRegistrationGroup in class AbstractCourseRegistrationServicestudentId - an identifier of a StudentregistrationGroupId - an identifier of a RegistrationGroupcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - studentId or registrationGroupId
is not foundInvalidParameterException - contextInfo is not validMissingParameterException - studentId,
registrationGroupId, or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic CreditLoadInfo calculateCreditLoadForStudentRegistrationRequest(String registrationRequestId, String studentId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicecalculateCreditLoadForStudentRegistrationRequest in interface CourseRegistrationServicecalculateCreditLoadForStudentRegistrationRequest in class AbstractCourseRegistrationServiceregistrationRequestId - an identifier of a RegistrationRequeststudentId - an identifier of a StudentcontextInfo - information containing the principalId and
locale information about the caller of the service
operationDoesNotExistException - registrationRequestId is not
found or studentId not in RegistrationRequestInvalidParameterException - contextInfo is not validMissingParameterException - registrationRequestId, or
contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredpublic StatusInfo changeRegistrationRequestState(String registrationRequestId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationServicechangeRegistrationRequestState in interface CourseRegistrationServicechangeRegistrationRequestState in class AbstractCourseRegistrationServiceregistrationRequestId - the identifier of the
RegistrationRequest to be updatednextStateKey - the State Key into which the identified
RegistrationRequest will be placed if the operation
succeedscontextInfo - information containing the principalId and
locale information about the caller of service operationDoesNotExistException - registrationRequestId not foundInvalidParameterException - the contextInfo object is invalidMissingParameterException - registrationRequestId,
nextStateKey, or contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureCopyright © 2004–2014 The Kuali Foundation. All rights reserved.