wt.dataops.objectcol
Class CollectionHelper.TmpCriteriaHolder

java.lang.Object
  extended bywt.dataops.objectcol.CollectionHelper.TmpCriteriaHolder
All Implemented Interfaces:
Serializable
Enclosing class:
CollectionHelper

protected static class CollectionHelper.TmpCriteriaHolder
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  Map criterionObjects
           
protected  WTSet removedCriterions
           
protected  List removedInputs
           
 
Constructor Summary
(package private) CollectionHelper.TmpCriteriaHolder()
           
(package private) CollectionHelper.TmpCriteriaHolder(CriterionObject[] cos)
           
 
Method Summary
 CriterionObject addCriterion(BaseCriterionDef def, InputValue[] values)
           
protected  void addDefaultIterTypeCriterionObjectIfReqd()
           
protected  void addDefaultObjTypeCriterionObject()
           
protected  void addDefaultObjTypeCriterionObjectIfReqd()
           
protected  void addObjTypeCriterionObject(Class[] types, boolean allowSub)
           
protected  boolean containsIterTypeCriterionDef()
           
protected  boolean containsObjTypeCriterionDef()
           
 CriterionObject[] getCriterionObjects()
           
 InputValue[][] getInputValues(CriterionObject[] objects)
           
 boolean removeCriterion(CriterionObject co)
           
 CriterionObject updateCriterion(CriterionObject criterion, InputValue[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

criterionObjects

protected Map criterionObjects

removedCriterions

protected WTSet removedCriterions

removedInputs

protected List removedInputs
Constructor Detail

CollectionHelper.TmpCriteriaHolder

CollectionHelper.TmpCriteriaHolder()

CollectionHelper.TmpCriteriaHolder

CollectionHelper.TmpCriteriaHolder(CriterionObject[] cos)
Method Detail

addCriterion

public CriterionObject addCriterion(BaseCriterionDef def,
                                    InputValue[] values)
                             throws WTException
Throws:
WTException

updateCriterion

public CriterionObject updateCriterion(CriterionObject criterion,
                                       InputValue[] values)
                                throws WTException
Throws:
WTException

removeCriterion

public boolean removeCriterion(CriterionObject co)
                        throws WTException
Throws:
WTException

getCriterionObjects

public CriterionObject[] getCriterionObjects()
                                      throws WTException
Throws:
WTException

getInputValues

public InputValue[][] getInputValues(CriterionObject[] objects)
                              throws WTException
Throws:
WTException

containsIterTypeCriterionDef

protected boolean containsIterTypeCriterionDef()

containsObjTypeCriterionDef

protected boolean containsObjTypeCriterionDef()

addDefaultObjTypeCriterionObjectIfReqd

protected void addDefaultObjTypeCriterionObjectIfReqd()
                                               throws WTException
Throws:
WTException

addDefaultObjTypeCriterionObject

protected void addDefaultObjTypeCriterionObject()
                                         throws WTException
Throws:
WTException

addObjTypeCriterionObject

protected void addObjTypeCriterionObject(Class[] types,
                                         boolean allowSub)
                                  throws WTException
Throws:
WTException

addDefaultIterTypeCriterionObjectIfReqd

protected void addDefaultIterTypeCriterionObjectIfReqd()
                                                throws WTException
Throws:
WTException