Interface AuctionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing auction searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetAuctionSearchRecord(Type auctionSearchRecordType) Gets the auction search record corresponding to the given auction search recordType.voidorderAuctionResults(AuctionSearchOrder auctionSearchOrder) Specify an ordering to the search results.voidsearchAmongAuctions(IdList auctionIds) Execute this search among the given list of auctions.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
-
searchAmongAuctions
Execute this search among the given list of auctions.- Parameters:
auctionIds- list of auctions- Throws:
NullArgumentException-auctionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAuctionResults
Specify an ordering to the search results.- Parameters:
auctionSearchOrder- auction search order- Throws:
NullArgumentException-auctionSearchOrderisnullUnsupportedException-auctionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAuctionSearchRecord
AuctionSearchRecord getAuctionSearchRecord(Type auctionSearchRecordType) throws OperationFailedException Gets the auction search record corresponding to the given auction search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
auctionSearchRecordType- an auction search record type- Returns:
- the auction search record
- Throws:
NullArgumentException-auctionSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(auctionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-