org.ofbiz.entity.finder
Class ByConditionFinder

java.lang.Object
  extended by org.ofbiz.entity.finder.Finder
      extended by org.ofbiz.entity.finder.ListFinder
          extended by org.ofbiz.entity.finder.ByConditionFinder
All Implemented Interfaces:
java.io.Serializable

public class ByConditionFinder
extends ListFinder

Uses the delegator to find entity values by a condition

See Also:
Serialized Form

Field Summary
protected  EntityFinderUtil.Condition havingCondition
           
static java.lang.String module
           
protected  EntityFinderUtil.Condition whereCondition
           
 
Fields inherited from class org.ofbiz.entity.finder.ListFinder
delegatorNameExdr, distinctStrExdr, filterByDateStrExdr, label, listAcsr, orderByExpanderList, outputHandler, resultSetTypeExdr, selectFieldExpanderList
 
Fields inherited from class org.ofbiz.entity.finder.Finder
entityNameExdr, useCacheStrExdr
 
Constructor Summary
ByConditionFinder(org.w3c.dom.Element element)
           
 
Method Summary
protected  EntityCondition getHavingEntityCondition(java.util.Map<java.lang.String,java.lang.Object> context, ModelEntity modelEntity, GenericDelegator delegator)
           
protected  EntityCondition getWhereEntityCondition(java.util.Map<java.lang.String,java.lang.Object> context, ModelEntity modelEntity, GenericDelegator delegator)
           
 
Methods inherited from class org.ofbiz.entity.finder.ListFinder
runFind
 
Methods inherited from class org.ofbiz.entity.finder.Finder
getEntityName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module

whereCondition

protected EntityFinderUtil.Condition whereCondition

havingCondition

protected EntityFinderUtil.Condition havingCondition
Constructor Detail

ByConditionFinder

public ByConditionFinder(org.w3c.dom.Element element)
Method Detail

getWhereEntityCondition

protected EntityCondition getWhereEntityCondition(java.util.Map<java.lang.String,java.lang.Object> context,
                                                  ModelEntity modelEntity,
                                                  GenericDelegator delegator)
Overrides:
getWhereEntityCondition in class ListFinder

getHavingEntityCondition

protected EntityCondition getHavingEntityCondition(java.util.Map<java.lang.String,java.lang.Object> context,
                                                   ModelEntity modelEntity,
                                                   GenericDelegator delegator)
Overrides:
getHavingEntityCondition in class ListFinder