Interface | osid.authentication.AgentQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for searching This session defines views that offer differing behaviors for searching.
Agents may have an agent query record indicated by their
respective agent record types. The agent query record is
accessed via the | ||
Method | getAgencyId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Agency Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getAgency | ||
Description |
Gets the | ||
Return | osid.authentication.Agency | the Agency associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSearchAgents | ||
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 | useFederatedAgencyView | ||
Description |
Federates the view for methods in this session. A federated view will include agents in agencies which are children of this agency in the agency hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedAgencyView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts searches to this agency only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getAgentQuery | ||
Description |
Gets an agent query. | ||
Return | osid.authentication.AgentQuery | the agent query | |
Compliance | mandatory | This method must be implemented. | |
Method | getAgentsByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.authentication.AgentQuery | agentQuery | the agent query |
Return | osid.authentication.AgentList | the returned AgentList | |
Errors | NULL_ARGUMENT | agentQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | agentQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |