Interface AuctionQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidGovernatorQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidSourceableQuery, Suppliable
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 .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the auction houseIdquery terms.voidClears the auction house query terms.voidClears the bidIdquery terms.voidClears the bid query terms.voidClears the buyout price terms.voidClears the currency type terms.voidClears the resourceIdquery terms.voidClears the item limit terms.voidClears the seller query terms.voidClears the lot size terms.voidClears the minimum bidders terms.voidClears the price increment terms.voidClears the remaining items terms.voidClears the reserve price terms.voidClears the sealed terms.voidClears the resourceIdquery terms.voidClears the seller query terms.voidClears the starting price terms.Gets the query for an auction house.getAuctionQueryRecord(Type auctionRecordType) Gets the auction query record corresponding to the givenAuctionrecordType.Multiple record retrievals produce a nestedORterm.Gets the query for a bid.Gets the query for a resource.Gets the query for a resource.voidmatchAnyBuyoutPrice(boolean match) Matches auctions with any buyout price.voidmatchAnyCurrencyType(boolean match) Matches auctions with any currency type set.voidmatchAnyItem(boolean match) Matches auctions with any item set.voidmatchAnyItemLimit(boolean match) Matches auctions with any item limit.voidmatchAnyLotSize(boolean match) Matches auctions with any lot size set.voidmatchAnyMinimumBidders(boolean match) Matches auctions with any minimum bidders set.voidmatchAnyPriceIncrement(boolean match) Matches auctions with any price increment.voidmatchAnyReservePrice(boolean match) Matches auctions with any reserve price.voidmatchAnySeller(boolean match) Matches auctions with any seller set.voidmatchAnyStartingPrice(boolean match) Matches auctions with any starting price.voidmatchAuctionHouseId(Id auctionHouseId, boolean match) Sets the auction houseIdfor this query to match auctions assigned to auction houses.voidmatchBidId(Id bidId, boolean match) Sets the bidIdfor this query.voidmatchBuyoutPrice(Currency start, Currency end, boolean match) Matches the buyout price between the given range inclusive.voidmatchCurrencyType(Type currencyType, boolean match) Matches the currency type.voidmatchItemId(Id resourceId, boolean match) Sets the resourceIdfor this query.voidmatchItemLimit(long start, long end, boolean match) Matches the item limit between the given range inclusive.voidmatchLotSize(long start, long end, boolean match) Matches the lot size between the given range inclusive.voidmatchMinimumBidders(long start, long end, boolean match) Matches the minimum bidders between the given range inclusive.voidmatchPriceIncrement(Currency start, Currency end, boolean match) Matches the price increment between the given range inclusive.voidmatchRemainingItems(long start, long end, boolean match) Matches the remaining items between the given range inclusive.voidmatchReservePrice(Currency start, Currency end, boolean match) Matches the reserve price between the given range inclusive.voidmatchSealed(boolean match) Matches sealed auctions.voidmatchSellerId(Id resourceId, boolean match) Sets the resourceIdfor this query.voidmatchStartingPrice(Currency start, Currency end, boolean match) Matches the starting price between the given range inclusive.booleanTests if anAuctionHouseQueryis available.booleanTests if aBidQueryis available.booleanTests if aResourceQueryis available.booleanTests if aResourceQueryis 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 OsidExtensibleQuery
clearRecordTerms, matchAnyRecord, matchRecordTypeModifier and TypeMethodDescriptionvoidClears all recordTypeterms.voidmatchAnyRecord(boolean match) Matches an object that has any record.voidmatchRecordType(Type recordType, boolean match) Sets aTypefor querying objects having records implementing a given record type.Methods inherited from interface OsidIdentifiableQuery
clearIdTerms, matchIdModifier and TypeMethodDescriptionvoidClears allIdterms.voidAdds anIdto match.Methods inherited from interface OsidObjectQuery
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, supportsSubjectRelevancyQueryModifier and TypeMethodDescriptionvoidClears all commentIdterms.voidClears all comment terms.voidClears all creditIdterms.voidClears all credit terms.voidClears all description terms.voidClears all display name terms.voidClears all genus type terms.voidClears all journal entryIdterms.voidClears all journal entry terms.voidClears all genus type terms.voidClears all relationshipIdterms.voidClears all relationshipIdterms.voidClears all relationship terms.voidClears all stateIdterms.voidClears all state terms.voidClears all statistic terms.voidClears all subjectIdterms.voidClears all subject relevancy terms.voidClears all subject terms.Gets the query for a comment.Gets the query for an ackowledgement credit.Gets the query for a journal entry.Gets the query for relationship.Gets the query for a state.Gets the query for a statistic.Gets the query for a subject.Gets the query for a subject relevancy.voidmatchAnyComment(boolean match) Matches an object that has anyCommentin the givenBook.voidmatchAnyCredit(boolean match) Matches an object that has anyCredit.voidmatchAnyDescription(boolean match) Matches a description that has any value.voidmatchAnyDisplayName(boolean match) Matches any object with a display name.voidmatchAnyGenusType(boolean match) Matches an object that has any genus type.voidmatchAnyJournalEntry(boolean match) Matches an object that has anyJournalEntryin the givenJournal.voidmatchAnyRelationship(boolean match) Matches an object that has anyRelationship.voidmatchAnyState(boolean match) Matches an object that has any mapping to aStatein the givenProcess.voidmatchAnyStatistic(boolean match) Matches an object that has anyStatistic.voidmatchAnySubject(boolean match) Matches an object that has any relationship to aSubject.voidmatchCommentId(Id commentId, boolean match) Matches an object that has the given comment.voidmatchCreditId(Id creditId, boolean match) Matches an object that has the given credit.voidmatchDescription(String description, Type stringMatchType, boolean match) Adds a description name to match.voidmatchDisplayName(String displayName, Type stringMatchType, boolean match) Adds a display name to match.voidmatchGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchJournalEntryId(Id journalEntryId, boolean match) Matches an object that has the given journal entry.voidmatchParentGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchRelationshipId(Id relationshipId, boolean match) Matches an object that has the given relationship.voidmatchRelationshipPeerId(Id peerId, boolean match) Matches an object that has a relationship to the given peerId.voidmatchStateId(Id stateId, boolean match) Matches an object mapped to the given state.voidmatchSubjectId(Id subjectId, boolean match) Matches an object with a relationship to the given subject.booleanTests if aCommentQueryis available.booleanTests if aCreditQueryis available to provide queries of related acknowledgements.booleanTests if aJournalEntryis available to provide queries of journaledOsidObjects.booleanTests if aRelationshipQueryis available.booleanTests if aStateQueryis available to provide queries of processed objects.booleanTests if aStatisticQueryis available to provide statistical queries.booleanTests if aSubjectQueryis available.booleanTests if aRelevancyQueryis available to provide queries about the relationships toSubjects.Methods inherited from interface OsidOperableQuery
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalModifier and TypeMethodDescriptionvoidClears the active query terms.voidClears the administratively disabled query terms.voidClears the administratively enabled query terms.voidClears the operational query terms.voidmatchActive(boolean match) Matches active.voidmatchDisabled(boolean match) Matches administratively disabled.voidmatchEnabled(boolean match) Matches administratively enabled.voidmatchOperational(boolean match) Matches operational operables.Methods inherited from interface OsidQuery
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeModifier and TypeMethodDescriptionvoidClears the match any terms.voidClears all keyword terms.Gets the string matching types supported.voidmatchAny(boolean match) Matches any object.voidmatchKeyword(String keyword, Type stringMatchType, boolean match) Adds a keyword to match.booleansupportsStringMatchType(Type stringMatchType) Tests if the given string matching type is supported.Methods inherited from interface OsidSourceableQuery
clearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQueryModifier and TypeMethodDescriptionvoidClears all assetIdterms.voidClears all branding terms.voidClears all license terms.voidClears all providerIdterms.voidClears all provider terms.getBrandingQuery(boolean match) Gets the query for an asset.getProviderQuery(boolean match) Gets the query for the provider.voidmatchAnyBranding(boolean match) Match sourceables with any branding.voidmatchAnyLicense(boolean match) Matches any object with a license.voidmatchAnyProvider(boolean match) Match sourceables with a provider value.voidmatchBrandingId(Id assetId, boolean match) Match theIdof an asset used for branding.voidmatchLicense(String license, Type stringMatchType, boolean match) Adds a license to match.voidmatchProviderId(Id resourceId, boolean match) Match theIdof the provider resource.booleanTests if anAssetQueryfor the branding is available.booleanTests if aResourceQueryfor the provider is available.
-
Method Details
-
matchCurrencyType
Matches the currency type.- Parameters:
currencyType- a currency typematch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-currencyTypeisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyCurrencyType
void matchAnyCurrencyType(boolean match) Matches auctions with any currency type set.- Parameters:
match-trueto match auctions with any currency type,falseto match auctions with no currency type- Compliance:
mandatory- This method must be implemented.
-
clearCurrencyTypeTerms
void clearCurrencyTypeTerms()Clears the currency type terms.- Compliance:
mandatory- This method must be implemented.
-
matchMinimumBidders
void matchMinimumBidders(long start, long end, boolean match) Matches the minimum bidders between the given range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanend- Compliance:
mandatory- This method must be implemented.
-
matchAnyMinimumBidders
void matchAnyMinimumBidders(boolean match) Matches auctions with any minimum bidders set.- Parameters:
match-trueto match auctions with any minimum bidders,falseto match auctions with no minimum bidders- Compliance:
mandatory- This method must be implemented.
-
clearMinimumBiddersTerms
void clearMinimumBiddersTerms()Clears the minimum bidders terms.- Compliance:
mandatory- This method must be implemented.
-
matchSealed
void matchSealed(boolean match) Matches sealed auctions.- Parameters:
match-trueto match sealed auctions,falseto match visible bid auctions- Compliance:
mandatory- This method must be implemented.
-
clearSealedTerms
void clearSealedTerms()Clears the sealed terms.- Compliance:
mandatory- This method must be implemented.
-
matchSellerId
Sets the resourceIdfor this query.- Parameters:
resourceId- the resourceIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-resourceIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearSellerIdTerms
void clearSellerIdTerms()Clears the resourceIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsSellerQuery
boolean supportsSellerQuery()Tests if aResourceQueryis available.- Returns:
trueif a resource query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSellerQuery
ResourceQuery getSellerQuery()Gets the query for a resource. Multiple retrievals produce a nestedORterm.- Returns:
- the resource query
- Throws:
UnimplementedException-supportsSellerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSellerQuery()} is {@code true} .
-
matchAnySeller
void matchAnySeller(boolean match) Matches auctions with any seller set.- Parameters:
match-trueto match auctions with any seller,falseto match auctions with no seller- Compliance:
mandatory- This method must be implemented.
-
clearSellerTerms
void clearSellerTerms()Clears the seller query terms.- Compliance:
mandatory- This method must be implemented.
-
matchItemId
Sets the resourceIdfor this query.- Parameters:
resourceId- the resourceIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-resourceIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearItemIdTerms
void clearItemIdTerms()Clears the resourceIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsItemQuery
boolean supportsItemQuery()Tests if aResourceQueryis available.- Returns:
trueif a resource query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getItemQuery
ResourceQuery getItemQuery()Gets the query for a resource. Multiple retrievals produce a nestedORterm.- Returns:
- the resource query
- Throws:
UnimplementedException-supportsItemQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsItemQuery()} is {@code true} .
-
matchAnyItem
void matchAnyItem(boolean match) Matches auctions with any item set.- Parameters:
match-trueto match auctions with any item,falseto match auctions with no item- Compliance:
mandatory- This method must be implemented.
-
clearItemTerms
void clearItemTerms()Clears the seller query terms.- Compliance:
mandatory- This method must be implemented.
-
matchLotSize
void matchLotSize(long start, long end, boolean match) Matches the lot size between the given range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanend- Compliance:
mandatory- This method must be implemented.
-
matchAnyLotSize
void matchAnyLotSize(boolean match) Matches auctions with any lot size set.- Parameters:
match-trueto match auctions with any lot size,falseto match auctions with no lot size set- Compliance:
mandatory- This method must be implemented.
-
clearLotSizeTerms
void clearLotSizeTerms()Clears the lot size terms.- Compliance:
mandatory- This method must be implemented.
-
matchRemainingItems
void matchRemainingItems(long start, long end, boolean match) Matches the remaining items between the given range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanend- Compliance:
mandatory- This method must be implemented.
-
clearRemainingItemsTerms
void clearRemainingItemsTerms()Clears the remaining items terms.- Compliance:
mandatory- This method must be implemented.
-
matchItemLimit
void matchItemLimit(long start, long end, boolean match) Matches the item limit between the given range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanend- Compliance:
mandatory- This method must be implemented.
-
matchAnyItemLimit
void matchAnyItemLimit(boolean match) Matches auctions with any item limit.- Parameters:
match-trueto match auctions with any item limit,falseto match auctions with no item limit- Compliance:
mandatory- This method must be implemented.
-
clearItemLimitTerms
void clearItemLimitTerms()Clears the item limit terms.- Compliance:
mandatory- This method must be implemented.
-
matchStartingPrice
Matches the starting price between the given range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanendorstart.getCurencyType()!=end.getCurrencyType()NullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyStartingPrice
void matchAnyStartingPrice(boolean match) Matches auctions with any starting price.- Parameters:
match-trueto match auctions with any starting price,falseto match auctions with no starting price- Compliance:
mandatory- This method must be implemented.
-
clearStartingPriceTerms
void clearStartingPriceTerms()Clears the starting price terms.- Compliance:
mandatory- This method must be implemented.
-
matchPriceIncrement
Matches the price increment between the given range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanendorstart.getCurencyType()!=end.getCurrencyType()NullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyPriceIncrement
void matchAnyPriceIncrement(boolean match) Matches auctions with any price increment.- Parameters:
match-trueto match auctions with any price increment,falseto match auctions with no price increment- Compliance:
mandatory- This method must be implemented.
-
clearPriceIncrementTerms
void clearPriceIncrementTerms()Clears the price increment terms.- Compliance:
mandatory- This method must be implemented.
-
matchReservePrice
Matches the reserve price between the given range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanendorstart.getCurencyType()!=end.getCurrencyType()NullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyReservePrice
void matchAnyReservePrice(boolean match) Matches auctions with any reserve price.- Parameters:
match-trueto match auctions with any reserve price,falseto match auctions with no reserve price- Compliance:
mandatory- This method must be implemented.
-
clearReservePriceTerms
void clearReservePriceTerms()Clears the reserve price terms.- Compliance:
mandatory- This method must be implemented.
-
matchBuyoutPrice
Matches the buyout price between the given range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanendorstart.getCurencyType()!=end.getCurrencyType()NullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyBuyoutPrice
void matchAnyBuyoutPrice(boolean match) Matches auctions with any buyout price.- Parameters:
match-trueto match auctions with any buyout price,falseto match auctions with no buyout price- Compliance:
mandatory- This method must be implemented.
-
clearBuyoutPriceTerms
void clearBuyoutPriceTerms()Clears the buyout price terms.- Compliance:
mandatory- This method must be implemented.
-
matchBidId
Sets the bidIdfor this query.- Parameters:
bidId- the bidIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-bidIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearBidIdTerms
void clearBidIdTerms()Clears the bidIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsBidQuery
boolean supportsBidQuery()Tests if aBidQueryis available.- Returns:
trueif a bid query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getBidQuery
BidQuery getBidQuery()Gets the query for a bid. Multiple retrievals produce a nestedORterm.- Returns:
- the bid query
- Throws:
UnimplementedException-supportsBidQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBidQuery()} is {@code true} .
-
clearBidTerms
void clearBidTerms()Clears the bid query terms.- Compliance:
mandatory- This method must be implemented.
-
matchAuctionHouseId
Sets the auction houseIdfor this query to match auctions assigned to auction houses.- Parameters:
auctionHouseId- the auction houseIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-auctionHouseIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAuctionHouseIdTerms
void clearAuctionHouseIdTerms()Clears the auction houseIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsAuctionHouseQuery
boolean supportsAuctionHouseQuery()Tests if anAuctionHouseQueryis available.- Returns:
trueif an auction house query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAuctionHouseQuery
AuctionHouseQuery getAuctionHouseQuery()Gets the query for an auction house. Multiple retrievals produce a nestedORterm.- Returns:
- the auction house query
- Throws:
UnimplementedException-supportsAuctionHouseQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuctionHouseQuery()} is {@code true} .
-
clearAuctionHouseTerms
void clearAuctionHouseTerms()Clears the auction house query terms.- Compliance:
mandatory- This method must be implemented.
-
getAuctionQueryRecord
Gets the auction query record corresponding to the givenAuctionrecordType.Multiple record retrievals produce a nestedORterm.- Parameters:
auctionRecordType- an auction record type- Returns:
- the auction query record
- Throws:
NullArgumentException-auctionRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(auctionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-