| Interface | osid.personnel.PersonQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods for querying This session defines views that offer differing behaviors for searching.
Persons may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getRealmId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Realm Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRealm | ||
| Description |
Gets the | ||
| Return | osid.personnel.Realm | the realm | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canSearchPersons | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if search methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedRealmView | ||
| Description |
Federates the view for methods in this session. A federated view will include persons in realms which are children of this realm in the realm hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedRealmView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts searches to this realm only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getPersonQuery | ||
| Description |
Gets a person query. | ||
| Return | osid.personnel.PersonQuery | the person query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPersonsByQuery | ||
| Description |
Gets a list of persons matching the given person query. | ||
| Parameters | osid.personnel.PersonQuery | personQuery | the person query |
| Return | osid.personnel.PersonList | the returned PersonList | |
| Errors | NULL_ARGUMENT | personQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | personQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |