| Interface | osid.course.registration.request.RegistrationRequestItemAdminSession | ||
|---|---|---|---|
| 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 The returned For updates, The delete operations delete This session includes an | ||
| 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.CourseCatalogList | the course catalog | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateRegistrationRequestItems | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if RegistrationRequestItem creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateRegistrationRequestItemWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | registrationRequestItemRecordTypes | array of registration request item record types |
| Return | boolean | true if RegistrationRequestItem creation using
the specified record Types is supported, false
otherwise | |
| Errors | NULL_ARGUMENT | registrationRequestItemRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationRequestItemFormForCreateForAdd | ||
| Description |
Gets the registration request item form for creating new ADD registration request items. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | registrationRequestId | a registration request Id |
osid.type.Type[] | registrationRequestItemRecordTypes | array of registration request item record types | |
| Return | osid.course.registration.request.RegistrationRequestItemForm | the registration request item form | |
| Errors | NOT_FOUND | registrationRequestId is not found | |
| NULL_ARGUMENT | registrationRequestId or
registrationRequestItemRecordTypes 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 | getRegistrationRequestItemFormForCreateForUpdate | ||
| Description |
Gets the registration request item form for creating new UPDATE registration request items. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | registrationRequestId | a registration request Id |
osid.type.Type[] | registrationRequestItemRecordTypes | array of registration request item record types | |
| Return | osid.course.registration.request.RegistrationRequestItemForm | the registration request item form | |
| Errors | NOT_FOUND | registrationRequestId is not found | |
| NULL_ARGUMENT | registrationRequestId or
registrationRequestItemRecordTypes 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 | getRegistrationRequestItemFormForCreateForDrop | ||
| Description |
Gets the registration request item form for creating new DROP registration request items. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | registrationRequestId | a registration request Id |
osid.type.Type[] | registrationRequestItemRecordTypes | array of registration request item record types | |
| Return | osid.course.registration.request.RegistrationRequestItemForm | the registration request item form | |
| Errors | NOT_FOUND | registrationRequestId is not found | |
| NULL_ARGUMENT | registrationRequestId or
registrationRequestItemRecordTypes 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 | createRegistrationRequestItem | ||
| Description |
Creates a new | ||
| Parameters | osid.course.registration.request.RegistrationRequestItemForm | registrationRequestItemForm | the form for this RegistrationRequestItem |
| Return | osid.course.registration.request.RegistrationRequestItem | the new RegistrationRequestItem | |
| Errors | ILLEGAL_STATE | registrationRequestItemForm already used in a create
transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | registrationRequestItemForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | registrationRequestItemForm did not originate from
getRegistrationRequestItemFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateRegistrationRequestItems | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if RegistrationRequestItem modification is
not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationRequestItemFormForUpdate | ||
| Description |
Gets the registration request item form for updating an existing registration request item. A new registration request item form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | registrationRequestItemId | the Id of the RegistrationRequestItem |
| Return | osid.course.registration.request.RegistrationRequestItemForm | the registration request item form | |
| Errors | NOT_FOUND | registrationRequestItemId is not found | |
| NULL_ARGUMENT | registrationRequestItemId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateRegistrationRequestItem | ||
| Description |
Updates an existing registration request item. | ||
| Parameters | osid.course.registration.request.RegistrationRequestItemForm | registrationRequestItemForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | registrationRequestItemForm already used in an update
transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | registrationRequestItemForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | registrationRequestItemForm did not originate from
getRegistrationRequestItemFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteRegistrationRequestItems | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if RegistrationRequestItem deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteRegistrationRequestItem | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | registrationRequestItemId | the Id of the RegistrationRequestItem to remove |
| Errors | NOT_FOUND | registrationRequestItemId not found | |
| NULL_ARGUMENT | registrationRequestItemId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageRegistrationRequestItemAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if RegistrationRequestItem aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasRegistrationRequestItem | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | registrationRequestItemId | the Id of a RegistrationRequestItem |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | registrationRequestItemId not found | ||
| NULL_ARGUMENT | registrationRequestItemId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |