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

The search interface for governing job constrainer searches.

MethodsearchAmongJobConstrainers
Description

Execute this search among the given list of job constrainers.

Parametersosid.id.IdListfoundryIdslist of job constrainers
ErrorsNULL_ARGUMENT foundryIds is null
CompliancemandatoryThis method must be implemented.
MethodorderJobConstrainerResults
Description

Specify an ordering to the search results.

Parametersosid.resourcing.rules.JobConstrainerSearchOrderjobConstrainerSearchOrderjob constrainer search order
ErrorsNULL_ARGUMENT jobConstrainerSearchOrder is null
UNSUPPORTED jobConstrainerSearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetJobConstrainerSearchRecord
Description

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

Parametersosid.type.TypejobConstrainerSearchRecordTypea job constrainer search record type
Returnosid.resourcing.rules.records.JobConstrainerSearchRecordthe job constrainer search record
ErrorsNULL_ARGUMENT jobConstrainerSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(jobConstrainerSearchRecordType) is false
CompliancemandatoryThis method must be implemented.