Interface AuctionSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidGovernatorSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidOperableSearchOrder, OsidSearchOrder, OsidSourceableSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptiongetAuctionSearchOrderRecord(Type auctionRecordType) Gets the auction search order record corresponding to the given auction recordType.Gets the resource search order.Gets the resource search order.voidOrders the results by the buyout price.voidOrders the results by the currency type.voidorderByItem(SearchOrderStyle style) Orders the results by item.voidorderByItemLimit(SearchOrderStyle style) Orders the results by the auction item limit.voidorderByLotSize(SearchOrderStyle style) Orders the results by lot size.voidOrders the results by the minimum bidders.voidOrders the results by the price incrementvoidOrders the results by remaining items.voidOrders the results by the reserve price.voidorderBySealed(SearchOrderStyle style) Orders the results by the sealed flag.voidorderBySeller(SearchOrderStyle style) Orders the results by seller.voidOrders the results by the starting price.booleanTests if a resource search order is available.booleanTests if a resource search order is available.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 OsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.Methods inherited from interface OsidObjectSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionvoidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.Methods inherited from interface OsidOperableSearchOrder
orderByActive, orderByDisabled, orderByEnabled, orderByOperationalModifier and TypeMethodDescriptionvoidorderByActive(SearchOrderStyle style) Specifies a preference for ordering the result set by the active status.voidorderByDisabled(SearchOrderStyle style) Specifies a preference for ordering the result set by the administratively disabled status.voidorderByEnabled(SearchOrderStyle style) Specifies a preference for ordering the result set by the administratively enabled status.voidSpecifies a preference for ordering the results by the operational status.Methods inherited from interface OsidSourceableSearchOrder
getProviderSearchOrder, orderByProvider, supportsProviderSearchOrderModifier and TypeMethodDescriptionGets the search order interface for a provider.voidorderByProvider(SearchOrderStyle style) Specifies a preference for ordering the results by provider.booleanTests if aProviderSearchOrderinterface is available.
-
Method Details
-
orderByCurrencyType
Orders the results by the currency type.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByMinimumBidders
Orders the results by the minimum bidders.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderBySealed
Orders the results by the sealed flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderBySeller
Orders the results by seller.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsSellerSearchOrder
boolean supportsSellerSearchOrder()Tests if a resource search order is available.- Returns:
trueif a resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSellerSearchOrder
ResourceSearchOrder getSellerSearchOrder()Gets the resource search order.- Returns:
- the resource search order
- Throws:
IllegalStateException-supportsSellerSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByItem
Orders the results by item.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsItemSearchOrder
boolean supportsItemSearchOrder()Tests if a resource search order is available.- Returns:
trueif a resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getItemSearchOrder
ResourceSearchOrder getItemSearchOrder()Gets the resource search order.- Returns:
- the resource search order
- Throws:
IllegalStateException-supportsItemSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByLotSize
Orders the results by lot size.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByRemainingItems
Orders the results by remaining items.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByItemLimit
Orders the results by the auction item limit.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByStartingPrice
Orders the results by the starting price.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByPriceIncrement
Orders the results by the price increment- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByReservePrice
Orders the results by the reserve price.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByBuyoutPrice
Orders the results by the buyout price.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getAuctionSearchOrderRecord
AuctionSearchOrderRecord getAuctionSearchOrderRecord(Type auctionRecordType) throws OperationFailedException Gets the auction search order record corresponding to the given auction recordType. Multiple retrievals return the same underlying object.- Parameters:
auctionRecordType- an auction record type- Returns:
- the auction search order record
- Throws:
NullArgumentException-auctionRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(auctionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-