org.opencrx.kernel.product1.query
Interface ConfiguredProductQuery

All Superinterfaces:
AnyTypePredicate, ProductConfigurationSetQuery, ProductDescriptorQuery
All Known Subinterfaces:
AbstractBundledProductQuery, BundledProductQuery, BundledProductTypeQuery, InventoryItemQuery, InvoiceBundledProductPositionQuery, InvoicePositionQuery, OpportunityBundledProductPositionQuery, OpportunityPositionQuery, ProductReferenceQuery, QuoteBundledProductPositionQuery, QuotePositionQuery, RemovedBundledProductPositionQuery, RemovedPositionQuery, SalesOrderBundledProductPositionQuery, SalesOrderPositionQuery
All Known Implementing Classes:
AbstractBundledProductFilterImpl, BundledProductFilterImpl, BundledProductTypeFilterImpl, ConfiguredProductFilterImpl, InventoryItemFilterImpl, InvoiceBundledProductPositionFilterImpl, InvoicePositionFilterImpl, OpportunityBundledProductPositionFilterImpl, OpportunityPositionFilterImpl, ProductReferenceFilterImpl, QuoteBundledProductPositionFilterImpl, QuotePositionFilterImpl, RemovedBundledProductPositionFilterImpl, RemovedPositionFilterImpl, SalesOrderBundledProductPositionFilterImpl, SalesOrderPositionFilterImpl

public interface ConfiguredProductQuery
extends ProductConfigurationSetQuery, ProductDescriptorQuery


Method Summary
 OptionalFeaturePredicate currentConfig()
          Adds a constraint to the predicate for ConfiguredProduct testing whether the value of the feature currentConfig is null or not.
 ProductConfigurationQuery forAllCurrentConfig()
          Adds a constraint for the feature currentConfig to the predicate.
 StringTypePredicate forAllProductSerialNumber()
          Adds a constraint for the feature productSerialNumber to the predicate.
 MultivaluedTypeOrder orderByProductSerialNumber()
          Allows to adds a sort instruction for ConfiguredProduct depending the feature productSerialNumber Note: The order in which orderBy… instructions are given is relevant!
 MultivaluedFeaturePredicate productSerialNumber()
          Adds a constraint to the predicate for ConfiguredProduct testing whether the feature productSerialNumber has values or not.
 ProductConfigurationQuery thereExistsCurrentConfig()
          Adds a constraint for the feature currentConfig to the predicate.
 StringTypePredicate thereExistsProductSerialNumber()
          Adds a constraint for the feature productSerialNumber to the predicate.
 
Methods inherited from interface org.opencrx.kernel.product1.query.ProductConfigurationSetQuery
configType, forAllConfigType, thereExistsConfigType
 
Methods inherited from interface org.opencrx.kernel.product1.query.ProductDescriptorQuery
forAllProduct, product, thereExistsProduct
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Method Detail

currentConfig

OptionalFeaturePredicate currentConfig()
Adds a constraint to the predicate for ConfiguredProduct testing whether the value of the feature currentConfig is null or not.


thereExistsCurrentConfig

ProductConfigurationQuery thereExistsCurrentConfig()
Adds a constraint for the feature currentConfig to the predicate. The predicate for ConfiguredProduct evaluates true if its value of feature currentConfig satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to false!


forAllCurrentConfig

ProductConfigurationQuery forAllCurrentConfig()
Adds a constraint for the feature currentConfig to the predicate. The predicate for ConfiguredProduct evaluates true if its value of feature currentConfig satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to true!


productSerialNumber

MultivaluedFeaturePredicate productSerialNumber()
Adds a constraint to the predicate for ConfiguredProduct testing whether the feature productSerialNumber has values or not.


thereExistsProductSerialNumber

StringTypePredicate thereExistsProductSerialNumber()
Adds a constraint for the feature productSerialNumber to the predicate. The predicate for ConfiguredProduct evaluates true if at least one of its values of feature productSerialNumber satisfies the given condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the predicate evaluates to false!


forAllProductSerialNumber

StringTypePredicate forAllProductSerialNumber()
Adds a constraint for the feature productSerialNumber to the predicate. The predicate for ConfiguredProduct evaluates true if all of its values of feature productSerialNumber satisfy the selected condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the predicate evaluates to true!


orderByProductSerialNumber

MultivaluedTypeOrder orderByProductSerialNumber()
Allows to adds a sort instruction for ConfiguredProduct depending the feature productSerialNumber Note: The order in which orderBy… instructions are given is relevant!



This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.