Interface | osid.id.IdLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session is for retrieving | ||
Method | canLookupIds | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getId | ||
Description |
Gets an | ||
Parameters | osid.id.Id | id | an Id |
Return | osid.id.Id | the Id | |
Errors | NOT_FOUND | id is not found | |
NULL_ARGUMENT | id is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getIdsByIds | ||
Description |
Gets a list of | ||
Parameters | osid.id.IdList | ids | a list of Ids |
Return | osid.id.IdList | a list of Ids | |
Errors | NOT_FOUND | an id is not found | |
NULL_ARGUMENT | ids is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getIdsByAuthority | ||
Description |
Gets | ||
Parameters | string | authority | an authority |
Return | osid.id.IdList | a list of Ids | |
Errors | NULL_ARGUMENT | authority is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getIdsByAuthorityAndNamespace | ||
Description |
Gets | ||
Parameters | string | authority | an authority |
string | namespace | a namespace | |
Return | osid.id.IdList | a list of Ids | |
Errors | NULL_ARGUMENT | authority or namespace is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getIds | ||
Description |
Gets all | ||
Return | osid.id.IdList | the list of all Ids | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | isEquivalent | ||
Description |
Tests if the two | ||
Parameters | osid.id.Id | id | an Id |
osid.id.Id | equivalentId | an Id | |
Return | boolean | true if the Ids are equivalent, false
otherwise | |
Errors | NULL_ARGUMENT | null argument provided | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getIdAliases | ||
Description |
Gets a list of | ||
Parameters | osid.id.Id | id | an Id |
Return | osid.id.IdList | a list of alias Ids | |
Errors | NULL_ARGUMENT | id is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getIdAliasesByAuthority | ||
Description |
Gets a list of | ||
Parameters | osid.id.Id | id | an Id |
string | authority | an authority | |
Return | osid.id.IdList | a list of alias Ids | |
Errors | NULL_ARGUMENT | id or authority is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getIdAliasesByAuthorityAndNamespace | ||
Description |
Gets a list of | ||
Parameters | osid.id.Id | id | an Id |
string | authority | an authority | |
string | namespace | a namespace | |
Return | osid.id.IdList | a list of alias Ids | |
Errors | NULL_ARGUMENT | id, authority, or namespace is null
| |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |