Interface DocetSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing docet searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetDocetSearchRecord(Type docetSearchRecordType) Gets the docet search record corresponding to the given docet search recordType.voidorderDocetResults(DocetSearchOrder docetSearchOrder) Specify an ordering to the search results.voidsearchAmongDocets(IdList docetIds) Execute this search among the given list of docets.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
-
searchAmongDocets
Execute this search among the given list of docets.- Parameters:
docetIds- list of docets- Throws:
NullArgumentException-docetIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderDocetResults
Specify an ordering to the search results.- Parameters:
docetSearchOrder- docet search order- Throws:
NullArgumentException-docetSearchOrderisnullUnsupportedException-docetSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getDocetSearchRecord
Gets the docet search record corresponding to the given docet search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
docetSearchRecordType- a docet search record type- Returns:
- the docet search record
- Throws:
NullArgumentException-docetSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(docetSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-