| Interface | osid.id.IdAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Implemented By | osid.id.batch.IdBatchAdminSession | ||
| Used By | osid.id.IdManager | ||
osid.id.IdProxyManager | |||
| Description |
This session is used to manually create new
| ||
| Method | canCreateIds | ||
| Description |
Tests if this user can create | ||
| Return | boolean | false if create methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIdFormForCreate | ||
| Description |
Gets the | ||
| Return | osid.id.IdForm | the Id form | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | createId | ||
| Description |
Creates a new | ||
| Parameters | osid.id.IdForm | idForm | the Id form |
| Return | osid.id.Id | the created Id | |
| Errors | ALREADY_EXISTS | an Id for the authority, namespace, and identifier already
exists | |
| ILLEGAL_STATE | idForm already used in a create transaction | ||
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | idForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | idForm did not originate from
getIdFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canAliasIds | ||
| Description |
Tests if this user can alias | ||
| Return | boolean | false if alias methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasId | ||
| Description |
Makes two | ||
| Parameters | osid.id.Id | id | the primary Id |
osid.id.Id | aliasId | the Id alias | |
| Errors | NOT_FOUND | id or aliasId is not found | |
| NULL_ARGUMENT | id or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | removeAlias | ||
| Description |
Removes an alias. | ||
| Parameters | osid.id.Id | id | the primary Id |
osid.id.Id | aliasId | the alias Id | |
| Errors | NOT_FOUND | id or aliasId is not found or
aliasId not mapped to id | |
| NULL_ARGUMENT | id or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |