public abstract class AbstractCourseRegistrationService extends Object implements CourseRegistrationService
Constructor and Description |
---|
AbstractCourseRegistrationService() |
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.
|
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.
|
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> |
getActivityRegistrationsByActivityOffering(String courseOfferingId,
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 courseOfferingId,
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.
|
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> |
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<RegistrationGroupInfo> |
getEligibleRegistrationGroupsForStudentInCourseOffering(String studentId,
String courseOfferingId,
ContextInfo contextInfo)
Gets the Registration Groups for a CourseOffering for which the
given student is eligible to register.
|
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> |
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<ActivityRegistrationInfo> |
searchForActivityRegistrations(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<CourseRegistrationInfo> |
searchForCourseRegistrations(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.
|
List<RegistrationRequestInfo> |
searchForRegistrationRequests(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for RegistrationRequests that meet the given search
criteria.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeRegistrationRequestState
public AbstractCourseRegistrationService()
public CourseRegistrationInfo getCourseRegistration(String courseRegistrationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getCourseRegistration
in interface CourseRegistrationService
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> getCourseRegistrationsByIds(List<String> courseRegistrationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getCourseRegistrationsByIds
in interface CourseRegistrationService
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
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
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
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
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
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
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<CourseRegistrationInfo> searchForCourseRegistrations(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
searchForCourseRegistrations
in interface CourseRegistrationService
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
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> getActivityRegistrationsByIds(List<String> activityRegistrationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationsByIds
in interface CourseRegistrationService
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
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
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
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 courseOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationsByActivityOffering
in interface CourseRegistrationService
courseOfferingId
- 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 courseOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getActivityRegistrationsByStudentAndActivityOffering
in interface CourseRegistrationService
studentId
- an identifier for a StudentcourseOfferingId
- 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
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
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<ActivityRegistrationInfo> searchForActivityRegistrations(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
searchForActivityRegistrations
in interface CourseRegistrationService
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
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> getRegistrationRequestsByIds(List<String> registrationRequestIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getRegistrationRequestsByIds
in interface CourseRegistrationService
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
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
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
termId
- 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
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<RegistrationRequestInfo> searchForRegistrationRequests(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
searchForRegistrationRequests
in interface CourseRegistrationService
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
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
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
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
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
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
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 validOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredMissingParameterException
public RegistrationResponseInfo submitRegistrationRequest(String registrationRequestId, ContextInfo contextInfo) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
submitRegistrationRequest
in interface CourseRegistrationService
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 validOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredMissingParameterException
public List<RegistrationRequestItemInfo> getRegistrationRequestItemsForCourseRegistration(String courseRegistrationId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getRegistrationRequestItemsForCourseRegistration
in interface CourseRegistrationService
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
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
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
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
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
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 List<RegistrationGroupInfo> getEligibleRegistrationGroupsForStudentInCourseOffering(String studentId, String courseOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
getEligibleRegistrationGroupsForStudentInCourseOffering
in interface CourseRegistrationService
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 CreditLoadInfo calculateCreditLoadForStudentRegistrationRequest(String registrationRequestId, String studentId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseRegistrationService
calculateCreditLoadForStudentRegistrationRequest
in interface CourseRegistrationService
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 occurredCopyright © 2004-2014 The Kuali Foundation. All Rights Reserved.