Interface | osid.id.IdAdminSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
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 | primaryId | the primary Id |
osid.id.Id | equivalentId | an Id to be made equivalent | |
Errors | NOT_FOUND | primaryId or equivalentId is not found | |
NULL_ARGUMENT | primaryId or equivalentId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | removeAlias | ||
Description |
Removes equivalence from two | ||
Parameters | osid.id.Id | primaryId | the primary Id |
osid.id.Id | equivalentId | the equivalent Id | |
Errors | NOT_FOUND | primaryId or equivalentId is not found or
equivalentId not mapped to primaryId | |
NULL_ARGUMENT | primaryId or equivalentId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |