org.opencrx.kernel.product1.jmi1
Interface AbstractFilterProduct

All Superinterfaces:
AbstractFilter, AbstractFilterProduct, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
AbstractPriceLevel, PriceLevel, ProductFilterGlobal, ProductPhasePriceLevel

public interface AbstractFilterProduct
extends AbstractFilterProduct, AbstractFilter

Abstract class AbstractFilterProduct

isFrozen


Method Summary
 void addProductFilterProperty(boolean idIsPersistent, String id, ProductFilterProperty productFilterProperty)
          Adds the specified element to the set of the values for the reference productFilterProperty.
 void addProductFilterProperty(ProductFilterProperty productFilterProperty)
          Adds the specified element to the set of the values for the reference productFilterProperty using an implementation-specific, reassignable qualifier.
 void addProductFilterProperty(String id, ProductFilterProperty productFilterProperty)
          Adds the specified element to the set of the values for the reference productFilterProperty using a reassignable qualifier.
 CountFilteredObjectsResult countFilteredProduct()
           
<T extends AbstractProduct>
List<T>
getFilteredProduct(AbstractProductQuery query)
          Retrieves the value for the reference filteredProduct for the specified query.
 AbstractProduct getFilteredProduct(boolean idIsPersistent, String id)
          Retrieves the value for the reference filteredProduct for the specified qualifier attribute value.
 AbstractProduct getFilteredProduct(String id)
          Retrieves the value for the reference filteredProduct for the specified qualifier attribute value.
 ProductFilterProperty getProductFilterProperty(boolean idIsPersistent, String id)
          Retrieves the value for the reference productFilterProperty for the specified qualifier attribute value.
<T extends ProductFilterProperty>
List<T>
getProductFilterProperty(ProductFilterPropertyQuery query)
          Retrieves the value for the reference productFilterProperty for the specified query.
 ProductFilterProperty getProductFilterProperty(String id)
          Retrieves the value for the reference productFilterProperty for the specified qualifier attribute value.
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractFilterProduct
getFilteredProduct, getProductFilterProperty
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

countFilteredProduct

CountFilteredObjectsResult countFilteredProduct()
Specified by:
countFilteredProduct in interface AbstractFilterProduct

getFilteredProduct

<T extends AbstractProduct> List<T> getFilteredProduct(AbstractProductQuery query)
Retrieves the value for the reference filteredProduct for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getFilteredProduct

AbstractProduct getFilteredProduct(boolean idIsPersistent,
                                   String id)
Retrieves the value for the reference filteredProduct for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getFilteredProduct

AbstractProduct getFilteredProduct(String id)
Retrieves the value for the reference filteredProduct for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getFilteredProduct(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getProductFilterProperty

<T extends ProductFilterProperty> List<T> getProductFilterProperty(ProductFilterPropertyQuery query)
Retrieves the value for the reference productFilterProperty for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getProductFilterProperty

ProductFilterProperty getProductFilterProperty(boolean idIsPersistent,
                                               String id)
Retrieves the value for the reference productFilterProperty for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getProductFilterProperty

ProductFilterProperty getProductFilterProperty(String id)
Retrieves the value for the reference productFilterProperty for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getProductFilterProperty(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addProductFilterProperty

void addProductFilterProperty(boolean idIsPersistent,
                              String id,
                              ProductFilterProperty productFilterProperty)
Adds the specified element to the set of the values for the reference productFilterProperty.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
productFilterProperty - The element to be appended.

addProductFilterProperty

void addProductFilterProperty(String id,
                              ProductFilterProperty productFilterProperty)
Adds the specified element to the set of the values for the reference productFilterProperty using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
productFilterProperty - The element to be appended.

addProductFilterProperty

void addProductFilterProperty(ProductFilterProperty productFilterProperty)
Adds the specified element to the set of the values for the reference productFilterProperty using an implementation-specific, reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
productFilterProperty - The element to be appended.


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