Interface InputSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing input searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetInputSearchRecord(Type inputSearchRecordType) Gets the input search record corresponding to the given input search recordType.voidorderInputResults(InputSearchOrder inputSearchOrder) Specify an ordering to the search results.voidsearchAmongInputs(IdList inputIds) Execute this search among the given list of inputs.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
-
searchAmongInputs
Execute this search among the given list of inputs.- Parameters:
inputIds- list of inputs- Throws:
NullArgumentException-inputIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderInputResults
Specify an ordering to the search results.- Parameters:
inputSearchOrder- input search order- Throws:
NullArgumentException-inputSearchOrderisnullUnsupportedException-inputSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getInputSearchRecord
Gets the input search record corresponding to the given input search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
inputSearchRecordType- an input search record type- Returns:
- the input search record
- Throws:
NullArgumentException-inputSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(inputSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-