Interface CandidateSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing candidate searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCandidateSearchRecord(Type candidateSearchRecordType) Gets the candidate search record corresponding to the given candidate search recordType.voidorderCandidateResults(CandidateSearchOrder candidateSearchOrder) Specify an ordering to the search results.voidsearchAmongCandidates(IdList candidateIds) Execute this search among the given list of candidates.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
-
searchAmongCandidates
Execute this search among the given list of candidates.- Parameters:
candidateIds- list of candidateIds- Throws:
NullArgumentException-candidateIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCandidateResults
Specify an ordering to the search results.- Parameters:
candidateSearchOrder- candidate search order- Throws:
NullArgumentException-orderisnullUnsupportedException-orderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCandidateSearchRecord
CandidateSearchRecord getCandidateSearchRecord(Type candidateSearchRecordType) throws OperationFailedException Gets the candidate search record corresponding to the given candidate search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
candidateSearchRecordType- a candidate search record type- Returns:
- the candidate search record
- Throws:
NullArgumentException-candidateSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordTypeType(candidateSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-