Interface JobSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing job searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetJobSearchRecord(Type jobSearchRecordType) Gets the job search record corresponding to the given job search recordType.voidorderJobResults(JobSearchOrder jobSearchOrder) Specify an ordering to the search results.voidsearchAmongJobs(IdList jobIds) Execute this search among the given list of jobs.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongJobs
Execute this search among the given list of jobs.- Parameters:
jobIds- list of jobs- Throws:
NullArgumentException-jobIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderJobResults
Specify an ordering to the search results.- Parameters:
jobSearchOrder- job search order- Throws:
NullArgumentException-jobSearchOrderisnullUnsupportedException-jobSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getJobSearchRecord
Gets the job search record corresponding to the given job search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
jobSearchRecordType- a job search record type- Returns:
- the job search record
- Throws:
NullArgumentException-jobSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(jobSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-