org.opencrx.kernel.product1.cci
Interface AbstractFilterProduct

All Superinterfaces:
AbstractFilter, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
PriceLevel
All Known Implementing Classes:
AbstractFilterProductImpl, PriceLevelImpl

public interface AbstractFilterProduct
extends AbstractFilter


Method Summary
 void addProductFilterProperty(ProductFilterProperty newValue)
           
 void addProductFilterProperty(String id, ProductFilterProperty newValue)
           
 Collection getFilteredProduct()
          Retrieves a collection containing all the elements for the reference filteredProduct.
 List getFilteredProduct(AbstractProductFilter filter)
          Retrieves the value for the reference filteredProduct for the specified filter.
 List getFilteredProduct(AbstractProductQuery query)
          Retrieves the value for the reference filteredProduct for the specified query.
 AbstractProduct getFilteredProduct(String id)
          Retrieves the value for the reference filteredProduct for the specified qualifier attribute value.
 Collection getProductFilterProperty()
          Retrieves a collection containing all the elements for the reference productFilterProperty.
 List getProductFilterProperty(ProductFilterPropertyFilter filter)
          Retrieves the value for the reference productFilterProperty for the specified filter.
 List 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.
 void removeProductFilterProperty(String id)
           
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
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

getFilteredProduct

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

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getFilteredProduct

Collection getFilteredProduct()
Retrieves a collection containing all the elements for the reference filteredProduct.

Returns:
A collection containing all the elements for this reference.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getFilteredProduct

List getFilteredProduct(AbstractProductFilter filter)
Retrieves the value for the reference filteredProduct for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getFilteredProduct

List getFilteredProduct(AbstractProductQuery query)
Retrieves the value for the reference filteredProduct for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getProductFilterProperty

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

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getProductFilterProperty

Collection getProductFilterProperty()
Retrieves a collection containing all the elements for the reference productFilterProperty.

Returns:
A collection containing all the elements for this reference.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getProductFilterProperty

List getProductFilterProperty(ProductFilterPropertyFilter filter)
Retrieves the value for the reference productFilterProperty for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getProductFilterProperty

List getProductFilterProperty(ProductFilterPropertyQuery query)
Retrieves the value for the reference productFilterProperty for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

addProductFilterProperty

void addProductFilterProperty(String id,
                              ProductFilterProperty newValue)
Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

addProductFilterProperty

void addProductFilterProperty(ProductFilterProperty newValue)
Parameters:
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

removeProductFilterProperty

void removeProductFilterProperty(String id)
Throws:
JmiException - If the value cannot be removed for some reason.


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