Package org.apache.ofbiz.entity.finder
Class ByConditionFinder
java.lang.Object
org.apache.ofbiz.entity.finder.Finder
org.apache.ofbiz.entity.finder.ListFinder
org.apache.ofbiz.entity.finder.ByConditionFinder
- All Implemented Interfaces:
Serializable
Uses the delegator to find entity values by a condition
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHavingEntityCondition
(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) Gets having entity condition.getWhereEntityCondition
(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) Gets where entity condition.Methods inherited from class org.apache.ofbiz.entity.finder.ListFinder
getOrderByFieldList, runFind
Methods inherited from class org.apache.ofbiz.entity.finder.Finder
getEntityName, getEntityNameExdr, getUseCacheStrExdr, setEntityName
-
Constructor Details
-
ByConditionFinder
-
-
Method Details
-
getWhereEntityCondition
public EntityCondition getWhereEntityCondition(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) Description copied from class:ListFinder
Gets where entity condition.- Overrides:
getWhereEntityCondition
in classListFinder
- Parameters:
context
- the contextmodelEntity
- the model entitymodelFieldTypeReader
- the model field type reader- Returns:
- the where entity condition
-
getHavingEntityCondition
public EntityCondition getHavingEntityCondition(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) Description copied from class:ListFinder
Gets having entity condition.- Overrides:
getHavingEntityCondition
in classListFinder
- Parameters:
context
- the contextmodelEntity
- the model entitymodelFieldTypeReader
- the model field type reader- Returns:
- the having entity condition
-