| Interface | osid.sequencing.ChainAdminSession | ||
|---|---|---|---|
| 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 | getAntimatroidId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Antimatroid Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAntimatroid | ||
| Description |
Gets the | ||
| Return | osid.sequencing.Antimatroid | the antimatroid | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateChains | ||
| Description |
Tests if this user can create chains. A return of true
does not guarantee successful authorization. A return of
false indicates that it is known creating a | ||
| Return | boolean | false if Chain creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateChainWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | chainRecordTypes | array of chain record types |
| Return | boolean | true if Chain creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | chainRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getChainFormForCreate | ||
| Description |
Gets the chain form for creating new chains. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | chainRecordTypes | array of chain record types |
| Return | osid.sequencing.ChainForm | the chain form | |
| Errors | NULL_ARGUMENT | chainRecordTypes 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 | createChain | ||
| Description |
Creates a new | ||
| Parameters | osid.sequencing.ChainForm | chainForm | the form for this Chain |
| Return | osid.sequencing.Chain | the new Chain | |
| Errors | ILLEGAL_STATE | chainForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NOT_FOUND | resourceId or inputId is not found | ||
| NULL_ARGUMENT | chainForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | chainForm did not originate from
getChainFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateChains | ||
| Description |
Tests if this user can update chains. A return of true
does not guarantee successful authorization. A return of
false indicates that it is known updating a | ||
| Return | boolean | false if Chain modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getChainFormForUpdate | ||
| Description |
Gets the chain form for updating an existing chain. A new chain form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | chainId | the Id of the Chain |
| Return | osid.sequencing.ChainForm | the chain form | |
| Errors | NOT_FOUND | chainId is not found | |
| NULL_ARGUMENT | chainId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateChain | ||
| Description |
Updates an existing chain. | ||
| Parameters | osid.sequencing.ChainForm | chainForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | chainForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | chainForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | chainForm did not originate from
getChainFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteChains | ||
| Description |
Tests if this user can delete chains. A return of true
does not guarantee successful authorization. A return of
false indicates that it is known deleting a | ||
| Return | boolean | false if Chain deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteChain | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | chainId | the Id of the Chain to remove |
| Errors | NOT_FOUND | chainId not found | |
| NULL_ARGUMENT | chainId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageChainAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if Chain aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasChain | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | chainId | the Id of a Chain |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | chainId not found | ||
| NULL_ARGUMENT | chainId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |