public interface StoreQuery extends OsidCatalogQuery
This is the query for searching for stores. Each method specifies an
AND term while multiple terms of the same method produce a
nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearAncestorStoreIdTerms()
Clears the ancestor store
Id terms. |
void |
clearAncestorStoreTerms()
Clears the ancestor store terms.
|
void |
clearDescendantStoreIdTerms()
Clears the descendant store
Id terms. |
void |
clearDescendantStoreTerms()
Clears the descendant store terms.
|
void |
clearOrderIdTerms()
Clears the order
Id terms. |
void |
clearOrderTerms()
Clears the order terms.
|
void |
clearPriceScheduleIdTerms()
Clears the price schedule
Id terms. |
void |
clearPriceScheduleTerms()
Clears the price schedule terms.
|
void |
clearProductIdTerms()
Clears the product
Id terms. |
void |
clearProductTerms()
Clears the product terms.
|
StoreQuery |
getAncestorStoreQuery()
Gets the query for a store.
|
StoreQuery |
getDescendantStoreQuery()
Gets the query for a store.
|
OrderQuery |
getOrderQuery()
Gets the query for an order.
|
PriceScheduleQuery |
getPriceScheduleQuery()
Gets the query for a price schedule.
|
ProductQuery |
getProductQuery()
Gets the query for a product.
|
StoreQueryRecord |
getStoreQueryRecord(Type storeRecordType)
Gets the store query record corresponding to the given
Store
record Type. |
void |
matchAncestorStoreId(Id storeId,
boolean match)
Sets the store
Id for this query to match stores that
have the specified store as an ancestor. |
void |
matchAnyAncestorStore(boolean match)
Matches stores with any ancestor.
|
void |
matchAnyDescendantStore(boolean match)
Matches stores with any descendant.
|
void |
matchAnyOrder(boolean match)
Matches stores with any order.
|
void |
matchAnyPriceSchedule(boolean match)
Matches products with any price schedule.
|
void |
matchAnyProduct(boolean match)
Matches stores with any product.
|
void |
matchDescendantStoreId(Id storeId,
boolean match)
Sets the store
Id for this query to match stores that
have the specified store as a descendant. |
void |
matchOrderId(Id orderId,
boolean match)
Sets the order
Id for this query to match orders
assigned to stores. |
void |
matchPriceScheduleId(Id priceScheduleId,
boolean match)
Sets the price schedule
Id for this query. |
void |
matchProductId(Id productId,
boolean match)
Sets the product
Id for this query. |
boolean |
supportsAncestorStoreQuery()
Tests if a
StoreQuery is available. |
boolean |
supportsDescendantStoreQuery()
Tests if a
StoreQuery is available. |
boolean |
supportsOrderQuery()
Tests if a order query is available.
|
boolean |
supportsPriceScheduleQuery()
Tests if a price schedule query is available.
|
boolean |
supportsProductQuery()
Tests if a product query 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, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQueryvoid matchOrderId(Id orderId, boolean match)
Id for this query to match orders
assigned to stores.orderId - a order Id match - true for a positive match, false
for a negative matchNullArgumentException - orderId is
null mandatory - This method must be implemented. void clearOrderIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsOrderQuery()
true if a order query is available,
false otherwisemandatory - This method must be implemented. OrderQuery getOrderQuery()
UnimplementedException - supportsOrderQuery()
is false optional - This method must be implemented if
supportsOrderQuery() is true. void matchAnyOrder(boolean match)
match - true to match stores with any order,
false to match stores with no ordersmandatory - This method must be implemented. void clearOrderTerms()
mandatory - This method must be implemented. void matchProductId(Id productId, boolean match)
Id for this query.productId - a product Id match - true for a positive match, false
for a negative matchNullArgumentException - productId is
null mandatory - This method must be implemented. void clearProductIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsProductQuery()
true if a product query is available,
false otherwisemandatory - This method must be implemented. ProductQuery getProductQuery()
UnimplementedException - supportsProductQuery()
is false optional - This method must be implemented if
supportsProductQuery() is true. void matchAnyProduct(boolean match)
match - true to match stores with any product,
false to match stores with no productsmandatory - This method must be implemented. void clearProductTerms()
mandatory - This method must be implemented. void matchPriceScheduleId(Id priceScheduleId, boolean match)
Id for this query.priceScheduleId - a price schedule Id match - true for a positive match, false
for a negative matchNullArgumentException - priceScheduleId
is null mandatory - This method must be implemented. void clearPriceScheduleIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsPriceScheduleQuery()
true if a price schedule query is available,
false otherwisemandatory - This method must be implemented. PriceScheduleQuery getPriceScheduleQuery()
UnimplementedException -
supportsPriceScheduleQuery() is false optional - This method must be implemented if
supportsPriceScheduleQuery() is true.
void matchAnyPriceSchedule(boolean match)
match - true to match products with any price
schedule, false to match products with no price
schedulemandatory - This method must be implemented. void clearPriceScheduleTerms()
mandatory - This method must be implemented. void matchAncestorStoreId(Id storeId, boolean match)
Id for this query to match stores that
have the specified store as an ancestor.storeId - a store Id match - true for a positive match, false
for a negative matchNullArgumentException - storeId is
null mandatory - This method must be implemented. void clearAncestorStoreIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsAncestorStoreQuery()
StoreQuery is available. true if a store query is available,
false otherwisemandatory - This method must be implemented. StoreQuery getAncestorStoreQuery()
OR term.UnimplementedException -
supportsAncestorStoreQuery() is false optional - This method must be implemented if
supportsAncestorStoreQuery() is true.
void matchAnyAncestorStore(boolean match)
match - true to match stores with any ancestor,
false to match root storesmandatory - This method must be implemented. void clearAncestorStoreTerms()
mandatory - This method must be implemented. void matchDescendantStoreId(Id storeId, boolean match)
Id for this query to match stores that
have the specified store as a descendant.storeId - a store Id match - true for a positive match, false
for a negative matchNullArgumentException - storeId is
null mandatory - This method must be implemented. void clearDescendantStoreIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsDescendantStoreQuery()
StoreQuery is available. true if a store query is available,
false otherwisemandatory - This method must be implemented. StoreQuery getDescendantStoreQuery()
OR term.UnimplementedException -
supportsDescendantStoreQuery() is false optional - This method must be implemented if
supportsDescendantStoreQuery() is true.
void matchAnyDescendantStore(boolean match)
match - true to match stores with any descendant,
false to match leaf storesmandatory - This method must be implemented. void clearDescendantStoreTerms()
mandatory - This method must be implemented. StoreQueryRecord getStoreQueryRecord(Type storeRecordType) throws OperationFailedException
Store
record Type. Multiple record retrievals produce
a nested boolean OR term.storeRecordType - a store record typeNullArgumentException - storeRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(storeRecordType) is false mandatory - This method must be implemented.