Package org.apache.ofbiz.entity.finder
Class ListFinder
java.lang.Object
org.apache.ofbiz.entity.finder.Finder
org.apache.ofbiz.entity.finder.ListFinder
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ByAndFinder
,ByConditionFinder
Uses the delegator to find entity values by a and
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHavingEntityCondition
(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) Gets having entity condition.getOrderByFieldList
(Map<String, Object> context) Gets order by field list.getWhereEntityCondition
(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) Gets where entity condition.void
Methods inherited from class org.apache.ofbiz.entity.finder.Finder
getEntityName, getEntityNameExdr, getUseCacheStrExdr, setEntityName
-
Constructor Details
-
ListFinder
-
-
Method Details
-
runFind
- Specified by:
runFind
in classFinder
- Throws:
GeneralException
-
getOrderByFieldList
Gets order by field list.- Parameters:
context
- the context- Returns:
- the order by field list
-
getWhereEntityCondition
public EntityCondition getWhereEntityCondition(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) Gets where entity condition.- 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) Gets having entity condition.- Parameters:
context
- the contextmodelEntity
- the model entitymodelFieldTypeReader
- the model field type reader- Returns:
- the having entity condition
-