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, validateRegistrationRequestItem
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeRegistrationRequestItem, getEligibleRegistrationGroupsForStudentInCourseOffering, getRegistrationRequestItem, getRegistrationRequestItemIdsByType, getRegistrationRequestItemsByIds, searchForActivityRegistrations, searchForCourseRegistrations, searchForRegistrationRequestItemIds, searchForRegistrationRequestItems, searchForRegistrationRequests, validateRegistrationRequestItem
public CourseRegistrationServiceMockImpl2()
public List<String[]> getFakeRegistrations()
public void setFakeRegistrations(List<String[]> fakeRegistrations)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
CourseRegistrationService
getUnsubmittedRegistrationRequestsByRequestorAndTerm
in interface CourseRegistrationService
getUnsubmittedRegistrationRequestsByRequestorAndTerm
in class AbstractCourseRegistrationService
requestorId
- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
CourseRegistrationService
changeRegistrationRequestState
in interface CourseRegistrationService
changeRegistrationRequestState
in class AbstractCourseRegistrationService
registrationRequestId
- 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.