OSID Logo
OSID Specifications
resourcing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.resourcing.WorkSearch
Implementsosid.OsidSearch
Description

The search interface for governing work searches.

MethodsearchAmongWorks
Description

Execute this search among the given list of works.

Parametersosid.id.IdListworkIdslist of works
ErrorsNULL_ARGUMENT workIds is null
CompliancemandatoryThis method must be implemented.
MethodorderWorkResults
Description

Specify an ordering to the search results.

Parametersosid.resourcing.WorkSearchOrderworkSearchOrderwork search order
ErrorsNULL_ARGUMENT workSearchOrder is null
UNSUPPORTED workSearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetWorkSearchRecord
Description

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

Parametersosid.type.TypeworkSearchRecordTypea work search record type
Returnosid.resourcing.records.WorkSearchRecordthe work search record
ErrorsNULL_ARGUMENT workSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(workSearchRecordType) is false
CompliancemandatoryThis method must be implemented.