| Interface | osid.personnel.PositionSearchSession | ||
|---|---|---|---|
| Implements | osid.personnel.PositionQuerySession | ||
| Used By | osid.personnel.PersonnelManager | ||
osid.personnel.PersonnelProxyManager | |||
| Description |
This session provides methods for searching
getPositionsByQuery() is the basic search method
and returns a list of Position elements. A more
advanced search may be performed with
getPositionsBySearch() .It accepts a
PositionSearch in addition to the query for the
purpose of specifying additional options affecting the entire
search, such as ordering. getPositionsBySearch()
returns a PositionSearchResults that can be used
to access the resulting PositionList or be used
to perform a search within the result set through
PositionSearch .
This session defines views that offer differing behaviors for searching.
Positions may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getPositionSearch | ||
| Description |
Gets a position search. | ||
| Return | osid.personnel.PositionSearch | the position search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPositionSearchOrder | ||
| Description |
Gets a position search order. The
| ||
| Return | osid.personnel.PositionSearchOrder | the position search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPositionsBySearch | ||
| Description |
Gets the search results matching the given search. | ||
| Parameters | osid.personnel.PositionQuery | positionQuery | the position query |
osid.personnel.PositionSearch | positionSearch | the position search | |
| Return | osid.personnel.PositionSearchResults | the search results | |
| Errors | NULL_ARGUMENT | positionQuery or positionSearch is
null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | positionQuery or positionSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPositionQueryFromInspector | ||
| Description |
Gets a position query from an inspector. The inspector
is available from a | ||
| Parameters | osid.personnel.PositionQueryInspector | positionQueryInspector | a position query inspector |
| Return | osid.personnel.PositionQuery | the position query | |
| Errors | NULL_ARGUMENT | positionQueryInspector is null | |
| UNSUPPORTED | positionQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |