public interface CandidateSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
CandidateQueryInspector |
getCandidateQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
CandidateList |
getCandidates()
Gets the candidate list resulting from a search.
|
CandidateSearchResultsRecord |
getCandidateSearchResultsRecord(Type candidateSearchRecordType)
Gets the candidate search results record corresponding to the given
candidate search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
CandidateList getCandidates()
IllegalStateException
- list already retrievedmandatory
- This method must be implemented. CandidateQueryInspector getCandidateQueryInspector()
mandatory
- This method must be implemented. CandidateSearchResultsRecord getCandidateSearchResultsRecord(Type candidateSearchRecordType) throws OperationFailedException
Type.
This method is used to
retrieve an object implementing the requested record.candidateSearchRecordType
- a candidate search record typeNullArgumentException
-
candidateSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordTypeType(candidateSearchRecordType)
is
false
mandatory
- This method must be implemented.