OSID Logo
OSID Specifications
workflow package
Version 3.0.0
Release Candidate Preview
Interfaceosid.workflow.OfficeSearchResults
Implementsosid.OsidSearchResults
Description

This interface provides a means to capture results of a search.

MethodgetOffices
Description

Gets the office list resulting from a search.

Returnosid.workflow.OfficeListthe office list
ErrorsILLEGAL_STATElist already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetOfficeQueryInspector
Description

Gets the inspector for the query to examine the terms used in the search.

Returnosid.workflow.OfficeQueryInspectorthe office query inspector
CompliancemandatoryThis method must be implemented.
MethodgetOfficeSearchResultsRecord
Description

Gets the office search results record corresponding to the given office search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TypeofficeSearchRecordTypea office search record type
Returnosid.workflow.records.OfficeSearchResultsRecordthe office search results record
ErrorsNULL_ARGUMENT officeSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(officeSearchRecordType) is false
CompliancemandatoryThis method must be implemented.