public interface PriceScheduleQuery extends OsidObjectQuery, OsidAggregateableQuery
This is the query for searching for price schedules. Each method
specifies an AND term while multiple invocations of the
same method produce a nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearPriceIdTerms()
Clears the price
Id terms. |
void |
clearPriceTerms()
Clears the price terms.
|
void |
clearProductIdTerms()
Clears the product
Id terms. |
void |
clearProductTerms()
Clears the product terms.
|
void |
clearStoreIdTerms()
Clears the store
Id terms. |
void |
clearStoreTerms()
Clears the store terms.
|
PriceQuery |
getPriceQuery()
Gets the query for a price.
|
PriceScheduleQueryRecord |
getPriceScheduleQueryRecord(Type priceScheduleRecordType)
Gets the price schedule query record corresponding to the given
PriceSchedule record Type. |
ProductQuery |
getProductQuery()
Gets the query for a product.
|
StoreQuery |
getStoreQuery()
Gets the query for a store query.
|
void |
matchAnyPrice(boolean match)
Matches price schedules with any price.
|
void |
matchAnyProduct(boolean match)
Matches price schedules used with any product.
|
void |
matchPriceId(Id priceId,
boolean match)
Sets the price
Id for this query. |
void |
matchProductId(Id productId,
boolean match)
Sets the product
Id for this query. |
void |
matchStoreId(Id storeId,
boolean match)
Sets the price
Id for this query to match orders
assigned to stores. |
boolean |
supportsPriceQuery()
Tests if a price query is available.
|
boolean |
supportsProductQuery()
Tests if a product query is available.
|
boolean |
supportsStoreQuery()
Tests if a
StoreQuery 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, supportsStringMatchTypevoid matchPriceId(Id priceId, boolean match)
Id for this query.priceId - a price Id match - true for a positive match, false
for a negative matchNullArgumentException - priceId is
null mandatory - This method must be implemented. void clearPriceIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsPriceQuery()
true if a price query is available,
false otherwisemandatory - This method must be implemented. PriceQuery getPriceQuery()
UnimplementedException - supportsPriceQuery()
is false optional - This method must be implemented if
supportsPriceQuery() is true. void matchAnyPrice(boolean match)
match - true to match price sschedules with any
price, false to match price schedules with no
pricesmandatory - This method must be implemented. void clearPriceTerms()
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 price schedules with any
product, false to match price schedules with no
productsmandatory - This method must be implemented. void clearProductTerms()
mandatory - This method must be implemented. void matchStoreId(Id storeId, boolean match)
Id for this query to match orders
assigned to stores.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 clearStoreIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsStoreQuery()
StoreQuery is available. true if a store query is available,
false otherwisemandatory - This method must be implemented. StoreQuery getStoreQuery()
OR term.UnimplementedException - supportsStoreQuery()
is false optional - This method must be implemented if
supportsStoreQuery() is true. void clearStoreTerms()
mandatory - This method must be implemented. PriceScheduleQueryRecord getPriceScheduleQueryRecord(Type priceScheduleRecordType) throws OperationFailedException
PriceSchedule record Type. Multiple record
retrievals produce a nested boolean OR term.priceScheduleRecordType - a price schedule record typeNullArgumentException - priceScheduleRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(priceScheduleRecordType) is false
mandatory - This method must be implemented.