Interface | osid.personnel.RealmLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
| ||
Method | canLookupRealms | ||
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 | useComparativeRealmView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryRealmView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRealm | ||
Description |
Gets the | ||
Parameters | osid.id.Id | realmId | Id of the Realm |
Return | osid.personnel.Realm | the realm | |
Errors | NOT_FOUND | realmId not found | |
NULL_ARGUMENT | realmId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRealmsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | realmIds | the list of Ids to retrieve |
Return | osid.personnel.RealmList | the returned Realm list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | realmIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRealmsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | realmGenusType | a realm genus type |
Return | osid.personnel.RealmList | the returned Realm list | |
Errors | NULL_ARGUMENT | realmGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRealmsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | realmGenusType | a realm genus type |
Return | osid.personnel.RealmList | the returned Realm list | |
Errors | NULL_ARGUMENT | realmGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRealmsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | realmRecordType | a realm record type |
Return | osid.personnel.RealmList | the returned Realm list | |
Errors | NULL_ARGUMENT | realmRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRealmsByProvider | ||
Description |
Gets a | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.personnel.RealmList | the returned Realm list | |
Errors | NULL_ARGUMENT | resourceId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRealms | ||
Description |
Gets all | ||
Return | osid.personnel.RealmList | a list of Realms | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |