OSID Logo
OSID Specifications
workflow package
Version 3.1.0
Interfaceosid.workflow.OfficeSearchSession
Implementsosid.workflow.OfficeQuerySession
Used Byosid.workflow.WorkflowManager
osid.workflow.WorkflowProxyManager
Description

This session provides methods for searching among Offices. The search query is constructed using the OfficeQuery.

getOfficesByQuery() is the basic search method and returns a list of Offices. A more advanced search may be performed with getOfficesBySearch() .It accepts an OfficeSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getOfficesBySearch() returns an OfficeSearchResults that can be used to access the resulting OfficeList or be used to perform a search within the result set through OfficeSearch .

Offices may have a query record indicated by their respective record types. The query record is accessed via the OfficeQuery.

MethodgetOfficeSearch
Description

Gets an office search.

Returnosid.workflow.OfficeSearch the office search
Compliancemandatory This method must be implemented.
MethodgetOfficeSearchOrder
Description

Gets an office search order. The OfficeSearchOrder is supplied to an OfficeSearch to specify the ordering of results.

Returnosid.workflow.OfficeSearchOrder the office search order
Compliancemandatory This method must be implemented.
MethodgetOfficesBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.workflow.OfficeQueryofficeQuery the office query
osid.workflow.OfficeSearchofficeSearch the office search
Returnosid.workflow.OfficeSearchResults the returned search results
ErrorsNULL_ARGUMENT officeQuery or officeSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED officeQuery or officeSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetOfficeQueryFromInspector
Description

Gets an office query from an inspector. The inspector is available from an OfficeSearchResults.

Parametersosid.workflow.OfficeQueryInspectorofficeQueryInspector an office query inspector
Returnosid.workflow.OfficeQuery the office query
ErrorsNULL_ARGUMENT officeQueryInspector is null
UNSUPPORTED officeQueryInspector is not of this service
Compliancemandatory This method must be implemented.