Interface BidSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing bid searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBidSearchRecord(Type bidSearchRecordType) Gets the bid search record corresponding to the given bid search recordType.voidorderBidResults(BidSearchOrder bidSearchOrder) Specify an ordering to the search results.voidsearchAmongBids(IdList bidIds) Execute this search among the given list of bids.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
-
searchAmongBids
Execute this search among the given list of bids.- Parameters:
bidIds- list of bids- Throws:
NullArgumentException-bidIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBidResults
Specify an ordering to the search results.- Parameters:
bidSearchOrder- bid search order- Throws:
NullArgumentException-bidSearchOrderisnullUnsupportedException-bidSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBidSearchRecord
Gets the bid search record corresponding to the given bid search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
bidSearchRecordType- a bid search record type- Returns:
- the bid search record
- Throws:
NullArgumentException-bidSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(bidSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-