| Interface | osid.course.registration.request.RegistrationRequestAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.course.registration.request.RegistrationRequestManager | ||
osid.course.registration.request.RegistrationRequestProxyManager | |||
| Description |
This session creates, updates, and deletes
Create and update operations differ in their usage. To
create a For updates, The delete operations delete This session includes an OsidRequests include a submit operation for
processing. submitRegistrationRequest() is used
after the complete request has been created and may only be
submitted once. | ||
| Method | getCourseCatalogId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the CourseCatalog Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseCatalog | ||
| Description |
Gets the | ||
| Return | osid.course.CourseCatalog | the course catalog | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateRegistrationRequests | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if RegistrationRequest creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateRegistrationRequestWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | registrationRequestRecordTypes | array of registration request record types |
| Return | boolean | true if RegistrationRequest creation using the
specified record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | registrationRequestRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationRequestFormForCreate | ||
| Description |
Gets the registration request form for creating new registration requests. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | termId | a term Id |
osid.type.Type[] | registrationRequestRecordTypes | array of registration request record types | |
| Return | osid.course.registration.request.RegistrationRequestForm | the registration request form | |
| Errors | NOT_FOUND | termId is not found | |
| NULL_ARGUMENT | termId or registrationRequestRecordTypes is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | unable to get form for requested record types | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | createRegistrationRequest | ||
| Description |
Creates a new | ||
| Parameters | osid.course.registration.request.RegistrationRequestForm | registrationRequestForm | the form for this RegistrationRequest |
| Return | osid.course.registration.request.RegistrationRequest | the new RegistrationRequest | |
| Errors | ILLEGAL_STATE | registrationRequestForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | registrationRequestForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | registrationRequestForm did not originate from
getRegistrationRequestFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateRegistrationRequests | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if RegistrationRequest modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationRequestFormForUpdate | ||
| Description |
Gets the registration request form for updating an existing registration request. A new registration request form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | registrationRequestId | the Id of the RegistrationRequest |
| Return | osid.course.registration.request.RegistrationRequestForm | the registration request form | |
| Errors | NOT_FOUND | registrationRequestId is not found | |
| NULL_ARGUMENT | registrationRequestId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateRegistrationRequest | ||
| Description |
Updates an existing registration request. | ||
| Parameters | osid.course.registration.request.RegistrationRequestForm | registrationRequestForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | registrationRequestForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | registrationRequestForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | registrationRequestForm did not originate from
getRegistrationRequestFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteRegistrationRequests | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if RegistrationRequest deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteRegistrationRequest | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | registrationRequestId | the Id of the RegistrationRequest to remove |
| Errors | NOT_FOUND | registrationRequestId not found | |
| NULL_ARGUMENT | registrationRequestId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageRegistrationRequestAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if RegistrationRequest aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasRegistrationRequest | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | registrationRequestId | the Id of a RegistrationRequest |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | registrationRequestId not found | ||
| NULL_ARGUMENT | registrationRequestId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | submitRegistrationRequest | ||
| Description |
Submits a registration request for porcessing. A
| ||
| Parameters | osid.id.Id | registrationRequestId | the Id of a RegistrationRequest |
| Errors | ILLEGAL_STATE | registrationRequestId already submitted | |
| NOT_FOUND | registrationRequestId not found | ||
| NULL_ARGUMENT | registrationRequestId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |