org.opencrx.kernel.product1.cci2
Interface AbstractFilterProduct

All Superinterfaces:
AbstractFilter
All Known Subinterfaces:
AbstractFilterProduct, AbstractPriceLevel, AbstractPriceLevel, PriceLevel, PriceLevel, ProductPhasePriceLevel, ProductPhasePriceLevel
All Known Implementing Classes:
AbstractPriceLevel, PriceLevel, ProductPhasePriceLevel

public interface AbstractFilterProduct
extends AbstractFilter

Abstract class AbstractFilterProduct


Method Summary
 void addProductFilterProperty(boolean idIsPersistent, String id, ProductFilterProperty productFilterProperty)
          Adds the specified element to the set of the values for the reference productFilterProperty.
 CountFilteredObjectsResult countFilteredProduct()
           
<T extends AbstractProduct>
Collection<T>
getFilteredProduct()
          Retrieves a set containing all the elements for the reference filteredProduct.
 AbstractProduct getFilteredProduct(boolean idIsPersistent, String id)
          Retrieves the value for the reference filteredProduct for the specified qualifier attribute value.
<T extends ProductFilterProperty>
Collection<T>
getProductFilterProperty()
          Retrieves a set containing all the elements for the reference productFilterProperty.
 ProductFilterProperty getProductFilterProperty(boolean idIsPersistent, String id)
          Retrieves the value for the reference productFilterProperty for the specified qualifier attribute value.
 

Method Detail

countFilteredProduct

CountFilteredObjectsResult countFilteredProduct()

getFilteredProduct

<T extends AbstractProduct> Collection<T> getFilteredProduct()
Retrieves a set containing all the elements for the reference filteredProduct.

Returns:
A set containing all the elements for this reference.

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

getProductFilterProperty

<T extends ProductFilterProperty> Collection<T> getProductFilterProperty()
Retrieves a set containing all the elements for the reference productFilterProperty.

Returns:
A set containing all the elements for this reference.

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

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.


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