Interface | osid.rules.check.CheckAdminSession | ||
---|---|---|---|
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 | getEngineId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Engine Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getEngine | ||
Description |
Gets the | ||
Return | osid.rules.Engine | the engine | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canCreateChecks | ||
Description |
Tests if this user can create | ||
Return | boolean | false if Check creation is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canCreateCheckWithRecordTypes | ||
Description |
Tests if this user can create a single | ||
Parameters | osid.type.Type[] | checkRecordTypes | array of check record types |
Return | boolean | true if Check creation using the specified
record Types is supported, false otherwise | |
Errors | NULL_ARGUMENT | checkRecordTypes is null | |
Compliance | mandatory | This method must be implemented. | |
Method | createCheck | ||
Description |
Creates a new | ||
Parameters | osid.rules.check.CheckForm | checkForm | the form for this Check |
Return | osid.rules.check.Check | the new Check | |
Errors | ILLEGAL_STATE | checkForm already used in a create transaction | |
INVALID_ARGUMENT | one or more of the form elements is invalid | ||
NULL_ARGUMENT | checkForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | checkForm did not originat from
getCheckFormForCreate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canUpdateChecks | ||
Description |
Tests if this user can update | ||
Return | boolean | false if Check modification is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getCheckFormForUpdate | ||
Description |
Gets the check form for updating an existing hold. A new check form should be requested for each update transaction. | ||
Parameters | osid.id.Id | checkId | the Id of the Check |
Return | osid.rules.check.CheckForm | the check form | |
Errors | NOT_FOUND | checkId is not found | |
NULL_ARGUMENT | checkId is null | ||
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateCheck | ||
Description |
Updates an existing hold. | ||
Parameters | osid.rules.check.CheckForm | checkForm | the form containing the elements to be updated |
Errors | ILLEGAL_STATE | checkForm already used in an update transaction | |
INVALID_ARGUMENT | the form contains an invalid value | ||
NULL_ARGUMENT | checkId or checkForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | checkForm did not originat from
getCheckFormForUpdate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canDeleteChecks | ||
Description |
Tests if this user can delete | ||
Return | boolean | false if Check deletion is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | deleteCheck | ||
Description |
Deletes a | ||
Parameters | osid.id.Id | checkId | the Id of the Check to remove |
Errors | NOT_FOUND | checkId not found | |
NULL_ARGUMENT | checkId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageCheckAliases | ||
Description |
Tests if this user can manage | ||
Return | boolean | false if Check aliasing is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | aliasCheck | ||
Description |
Adds an | ||
Parameters | osid.id.Id | checkId | the Id of a Check |
osid.id.Id | aliasId | the alias Id | |
Errors | ALREADY_EXISTS | aliasId is already assigned | |
NOT_FOUND | checkId not found | ||
NULL_ARGUMENT | checkId or aliasId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |