public interface AuctionQuery extends OsidGovernatorQuery, OsidTemporalQuery
This is the query for searching auctions. Each method match specifies
an AND
term while multiple invocations of the same method
produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearAuctionHouseIdTerms()
Clears the auction house
Id query terms. |
void |
clearAuctionHouseTerms()
Clears the auction house query terms.
|
void |
clearBidIdTerms()
Clears the bid
Id query terms. |
void |
clearBidTerms()
Clears the bid query terms.
|
void |
clearBuyoutPriceTerms()
Clears the buyout price terms.
|
void |
clearCurrencyTypeTerms()
Clears the currency type terms.
|
void |
clearItemIdTerms()
Clears the resource
Id query terms. |
void |
clearItemLimitTerms()
Clears the item limit terms.
|
void |
clearItemTerms()
Clears the seller query terms.
|
void |
clearLotSizeTerms()
Clears the lot size terms.
|
void |
clearMinimumBiddersTerms()
Clears the minimum bidders terms.
|
void |
clearPriceIncrementTerms()
Clears the price increment terms.
|
void |
clearRemainingItemsTerms()
Clears the remaining items terms.
|
void |
clearReservePriceTerms()
Clears the reserve price terms.
|
void |
clearSealedTerms()
Clears the sealed terms.
|
void |
clearSellerIdTerms()
Clears the resource
Id query terms. |
void |
clearSellerTerms()
Clears the seller query terms.
|
void |
clearStartingPriceTerms()
Clears the starting price terms.
|
AuctionHouseQuery |
getAuctionHouseQuery()
Gets the query for a auction house.
|
AuctionQueryRecord |
getAuctionQueryRecord(Type auctionRecordType)
Gets the auction query record corresponding to the given
Auction record Type. |
BidQuery |
getBidQuery()
Gets the query for a bid.
|
ResourceQuery |
getItemQuery()
Gets the query for a resource.
|
ResourceQuery |
getSellerQuery()
Gets the query for a resource.
|
void |
matchAnyBuyoutPrice(boolean match)
Matches auctions with any buyout price.
|
void |
matchAnyCurrencyType(boolean match)
Matches auctions with any currency type set.
|
void |
matchAnyItem(boolean match)
Matches auctions with any item set.
|
void |
matchAnyItemLimit(boolean match)
Matches auctions with any item limit.
|
void |
matchAnyLotSize(boolean match)
Matches auctions with any lot size set.
|
void |
matchAnyMinimumBidders(boolean match)
Matches auctions with any minimum bidders set.
|
void |
matchAnyPriceIncrement(boolean match)
Matches auctions with any price increment.
|
void |
matchAnyReservePrice(boolean match)
Matches auctions with any reserve price.
|
void |
matchAnySeller(boolean match)
Matches auctions with any seller set.
|
void |
matchAnyStartingPrice(boolean match)
Matches auctions with any starting price.
|
void |
matchAuctionHouseId(Id auctionHouseId,
boolean match)
Sets the auction house
Id for this query to match
auctions assigned to auction houses. |
void |
matchBidId(Id bidId,
boolean match)
Sets the bid
Id for this query. |
void |
matchBuyoutPrice(Currency start,
Currency end,
boolean match)
Matches the buyout price between the given range inclusive.
|
void |
matchCurrencyType(Type currencyType,
boolean match)
Matches the currency type.
|
void |
matchItemId(Id resourceId,
boolean match)
Sets the resource
Id for this query. |
void |
matchItemLimit(long start,
long end,
boolean match)
Matches the item limit between the given range inclusive.
|
void |
matchLotSize(long start,
long end,
boolean match)
Matches the lot size between the given range inclusive.
|
void |
matchMinimumBidders(long start,
long end,
boolean match)
Matches the minimum bidders between the given range inclusive.
|
void |
matchPriceIncrement(Currency start,
Currency end,
boolean match)
Matches the price increment between the given range inclusive.
|
void |
matchRemainingItems(long start,
long end,
boolean match)
Matches the remaining items between the given range inclusive.
|
void |
matchReservePrice(Currency start,
Currency end,
boolean match)
Matches the reserve price between the given range inclusive.
|
void |
matchSealed(boolean match)
Matches sealed auctions.
|
void |
matchSellerId(Id resourceId,
boolean match)
Sets the resource
Id for this query. |
void |
matchStartingPrice(Currency start,
Currency end,
boolean match)
Matches the starting price between the given range inclusive.
|
boolean |
supportsAuctionHouseQuery()
Tests if an
AuctionHouseQuery is available. |
boolean |
supportsBidQuery()
Tests if a
BidQuery is available. |
boolean |
supportsItemQuery()
Tests if a
ResourceQuery is available. |
boolean |
supportsSellerQuery()
Tests if a
ResourceQuery is available. |
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperational
clearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQuery
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
void matchCurrencyType(Type currencyType, boolean match)
currencyType
- a currency typematch
- true
for a positive match, false
for a negative matchNullArgumentException
- currencyType
is
null
mandatory
- This method must be implemented. void matchAnyCurrencyType(boolean match)
match
- true
to match auctions with any currency
type, false
to match auctions with no currency
typemandatory
- This method must be implemented. void clearCurrencyTypeTerms()
mandatory
- This method must be implemented. void matchMinimumBidders(long start, long end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void matchAnyMinimumBidders(boolean match)
match
- true
to match auctions with any minimum
bidders, false
to match auctions with no
minimum biddersmandatory
- This method must be implemented. void clearMinimumBiddersTerms()
mandatory
- This method must be implemented. void matchSealed(boolean match)
match
- true
to match sealed auctions,
false
to match visible bid auctionsmandatory
- This method must be implemented. void clearSealedTerms()
mandatory
- This method must be implemented. void matchSellerId(Id resourceId, boolean match)
Id
for this query.resourceId
- the resource Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- resourceId
is
null
mandatory
- This method must be implemented. void clearSellerIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsSellerQuery()
ResourceQuery
is available. true
if a resource query is available,
false
otherwisemandatory
- This method must be implemented. ResourceQuery getSellerQuery()
OR
term.UnimplementedException
- supportsSellerQuery()
is false
optional
- This method must be implemented if
supportsSellerQuery()
is true.
void matchAnySeller(boolean match)
match
- true
to match auctions with any seller,
false
to match auctions with no sellermandatory
- This method must be implemented. void clearSellerTerms()
mandatory
- This method must be implemented. void matchItemId(Id resourceId, boolean match)
Id
for this query.resourceId
- the resource Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- resourceId
is
null
mandatory
- This method must be implemented. void clearItemIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsItemQuery()
ResourceQuery
is available. true
if a resource query is available,
false
otherwisemandatory
- This method must be implemented. ResourceQuery getItemQuery()
OR
term.UnimplementedException
- supportsItemQuery()
is false
optional
- This method must be implemented if
supportsItemQuery()
is true.
void matchAnyItem(boolean match)
match
- true
to match auctions with any item,
false
to match auctions with no itemmandatory
- This method must be implemented. void clearItemTerms()
mandatory
- This method must be implemented. void matchLotSize(long start, long end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void matchAnyLotSize(boolean match)
match
- true
to match auctions with any lot size,
false
to match auctions with no lot size setmandatory
- This method must be implemented. void clearLotSizeTerms()
mandatory
- This method must be implemented. void matchRemainingItems(long start, long end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void clearRemainingItemsTerms()
mandatory
- This method must be implemented. void matchItemLimit(long start, long end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void matchAnyItemLimit(boolean match)
match
- true
to match auctions with any item
limit, false
to match auctions with no item
limitmandatory
- This method must be implemented. void clearItemLimitTerms()
mandatory
- This method must be implemented. void matchStartingPrice(Currency start, Currency end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
or
start.getCurencyType()
!= end.getCurrencyType()
NullArgumentException
- start
or
end
is null
mandatory
- This method must be implemented. void matchAnyStartingPrice(boolean match)
match
- true
to match auctions with any starting
price, false
to match auctions with no starting
pricemandatory
- This method must be implemented. void clearStartingPriceTerms()
mandatory
- This method must be implemented. void matchPriceIncrement(Currency start, Currency end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
or
start.getCurencyType()
!= end.getCurrencyType()
NullArgumentException
- start
or
end
is null
mandatory
- This method must be implemented. void matchAnyPriceIncrement(boolean match)
match
- true
to match auctions with any price
increment, false
to match auctions with no
price incrementmandatory
- This method must be implemented. void clearPriceIncrementTerms()
mandatory
- This method must be implemented. void matchReservePrice(Currency start, Currency end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
or
start.getCurencyType()
!= end.getCurrencyType()
NullArgumentException
- start
or
end
is null
mandatory
- This method must be implemented. void matchAnyReservePrice(boolean match)
match
- true
to match auctions with any reserve
price, false
to match auctions with no reserve
pricemandatory
- This method must be implemented. void clearReservePriceTerms()
mandatory
- This method must be implemented. void matchBuyoutPrice(Currency start, Currency end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
or
start.getCurencyType()
!= end.getCurrencyType()
NullArgumentException
- start
or
end
is null
mandatory
- This method must be implemented. void matchAnyBuyoutPrice(boolean match)
match
- true
to match auctions with any buyout
price, false
to match auctions with no buyout
pricemandatory
- This method must be implemented. void clearBuyoutPriceTerms()
mandatory
- This method must be implemented. void matchBidId(Id bidId, boolean match)
Id
for this query.bidId
- the bid Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- bidId
is
null
mandatory
- This method must be implemented. void clearBidIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsBidQuery()
BidQuery
is available. true
if a bid query is available, false
otherwisemandatory
- This method must be implemented. BidQuery getBidQuery()
OR
term.UnimplementedException
- supportsBidQuery()
is false
optional
- This method must be implemented if
supportsBidQuery()
is true.
void clearBidTerms()
mandatory
- This method must be implemented. void matchAuctionHouseId(Id auctionHouseId, boolean match)
Id
for this query to match
auctions assigned to auction houses.auctionHouseId
- the auction house Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- auctionHouseId
is null
mandatory
- This method must be implemented. void clearAuctionHouseIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsAuctionHouseQuery()
AuctionHouseQuery
is available. true
if a auction house query is available,
false
otherwisemandatory
- This method must be implemented. AuctionHouseQuery getAuctionHouseQuery()
OR
term.UnimplementedException
-
supportsAuctionHouseQuery()
is false
optional
- This method must be implemented if
supportsAuctionHouseQuery()
is true.
void clearAuctionHouseTerms()
mandatory
- This method must be implemented. AuctionQueryRecord getAuctionQueryRecord(Type auctionRecordType) throws OperationFailedException
Auction
record Type.
Multiple record retrievals
produce a nested OR
term.auctionRecordType
- an auction record typeNullArgumentException
- auctionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(auctionRecordType)
is false
mandatory
- This method must be implemented.