| Interface | osid.personnel.OrganizationQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods for querying This session defines views that offer differing behaviors for searching.
Organizations 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 | canSearchOrganizations | ||
| 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 organizations 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 | getOrganizationQuery | ||
| Description |
Gets an organization query. | ||
| Return | osid.personnel.OrganizationQuery | the organization query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOrganizationsByQuery | ||
| Description |
Gets a list of organizations matching the given organization query. | ||
| Parameters | osid.personnel.OrganizationQuery | organizationQuery | the organization query |
| Return | osid.personnel.OrganizationList | the returned OrganizationList | |
| Errors | NULL_ARGUMENT | organizationQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | organizationQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |