Interface | osid.hold.OublietteAdminSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
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 | ||
Method | canCreateOubliette | ||
Description |
Tests if this user can create | ||
Return | boolean | false if Oubliette creation is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canCreateOublietteWithRecordTypes | ||
Description |
Tests if this user can create a single | ||
Parameters | osid.type.Type[] | oublietteRecordTypes | array of oubliette record types |
Return | boolean | true if Oubliette creation using the
specified record Types is supported, false
otherwise | |
Errors | NULL_ARGUMENT | oublietteRecordTypes is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getOublietteFormForCreate | ||
Description |
Gets the oubliette form for creating new oubliettes. A new form should be requested for each create transaction. | ||
Parameters | osid.type.Type[] | oublietteRecordTypes | array of oubliette record types |
Return | osid.hold.OublietteForm | the oubliette form | |
Errors | NULL_ARGUMENT | oublietteRecordTypes 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 | createOubliette | ||
Description |
Creates a new | ||
Parameters | osid.hold.OublietteForm | oublietteForm | the form for this Oubliette |
Return | osid.hold.Oubliette | the new Oubliette | |
Errors | ILLEGAL_STATE | oublietteForm already used in a create transaction | |
INVALID_ARGUMENT | one or more of the form elements is invalid | ||
NULL_ARGUMENT | oublietteForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | oublietteForm did not originate from
getOublietteFormForCreate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canUpdateOubliettes | ||
Description |
Tests if this user can update | ||
Return | boolean | false if Oubliette modification is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getOublietteFormForUpdate | ||
Description |
Gets the oubliette form for updating an existing oubliette. A new oubliette form should be requested for each update transaction. | ||
Parameters | osid.id.Id | oublietteId | the Id of the Oubliette |
Return | osid.hold.OublietteForm | the oubliette form | |
Errors | NOT_FOUND | oublietteId is not found | |
NULL_ARGUMENT | oublietteId is null | ||
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateOubliette | ||
Description |
Updates an existing oubliette. | ||
Parameters | osid.hold.OublietteForm | oublietteForm | the form containing the elements to be updated |
Errors | ILLEGAL_STATE | oublietteForm already used in an update transaction | |
INVALID_ARGUMENT | the form contains an invalid value | ||
NULL_ARGUMENT | oublietteForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | oublietteForm did not originate from
getOublietteFormForUpdate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canDeleteOubliettes | ||
Description |
Tests if this user can delete | ||
Return | boolean | false if Oubliette deletion is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | deleteOubliette | ||
Description |
Deletes a | ||
Parameters | osid.id.Id | oublietteId | the Id of the Oubliette to remove |
Errors | NOT_FOUND | oublietteId not found | |
NULL_ARGUMENT | oublietteId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageOublietteAliases | ||
Description |
Tests if this user can manage | ||
Return | boolean | false if Oubliette aliasing is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | aliasOubliette | ||
Description |
Adds an | ||
Parameters | osid.id.Id | oublietteId | the Id of a Oubliette |
osid.id.Id | aliasId | the alias Id | |
Errors | ALREADY_EXISTS | aliasId is already assigned | |
NOT_FOUND | oublietteId not found | ||
NULL_ARGUMENT | oublietteId or aliasId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |