Interface BinSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing bin searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBinSearchRecord(Type binSearchRecordType) Gets the bin search record corresponding to the given bin search recordType.voidorderBinResults(BinSearchOrder binSearchOrder) Specify an ordering to the search results.voidsearchAmongBins(IdList binIds) Execute this search among the given list of bins.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
-
searchAmongBins
Execute this search among the given list of bins.- Parameters:
binIds- list of bins- Throws:
NullArgumentException-binIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBinResults
Specify an ordering to the search results.- Parameters:
binSearchOrder- bin search order- Throws:
NullArgumentException-binSearchOrderisnullUnsupportedException-binSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBinSearchRecord
Gets the bin search record corresponding to the given bin search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
binSearchRecordType- a bin search record type- Returns:
- the bin search record
- Throws:
NullArgumentException-binSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(binSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-