public interface JobSearch extends OsidSearch
The search interface for governing job searches.
Modifier and Type | Method and Description |
---|---|
JobSearchRecord |
getJobSearchRecord(Type jobSearchRecordType)
Gets the job search record corresponding to the given job search
record
Type. |
void |
orderJobResults(JobSearchOrder jobSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongJobs(IdList jobIds)
Execute this search among the given list of jobs.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongJobs(IdList jobIds)
jobIds
- list of jobsNullArgumentException
- jobIds
is
null
mandatory
- This method must be implemented. void orderJobResults(JobSearchOrder jobSearchOrder)
jobSearchOrder
- job search orderNullArgumentException
- jobSearchOrder
is null
UnsupportedException
- jobSearchOrder
is
not of this servicemandatory
- This method must be implemented. JobSearchRecord getJobSearchRecord(Type jobSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an object
implementing the requested record.jobSearchRecordType
- a job search record typeNullArgumentException
- jobSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(jobSearchRecordType)
is false
mandatory
- This method must be implemented.