org.ofbiz.minilang.method.entityops
Class EntityCount
java.lang.Object
org.ofbiz.minilang.method.MethodOperation
org.ofbiz.minilang.method.entityops.EntityCount
public class EntityCount
- extends MethodOperation
Uses the delegator to find entity values by a condition
Method Summary |
boolean |
exec(MethodContext methodContext)
Execute the operation; if false is returned then no further operations will be executed |
java.lang.String |
expandedString(MethodContext methodContext)
Create an expanded string representation of the operation, is for the current context |
java.lang.String |
getEntityName()
|
java.lang.String |
rawString()
Create a raw string representation of the operation, would be similar to original XML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
entityNameExdr
protected FlexibleStringExpander entityNameExdr
delegatorNameExdr
protected FlexibleStringExpander delegatorNameExdr
whereCondition
protected EntityFinderUtil.Condition whereCondition
havingCondition
protected EntityFinderUtil.Condition havingCondition
countAcsr
protected FlexibleMapAccessor<java.lang.Long> countAcsr
EntityCount
public EntityCount(org.w3c.dom.Element element,
SimpleMethod simpleMethod)
exec
public boolean exec(MethodContext methodContext)
- Description copied from class:
MethodOperation
- Execute the operation; if false is returned then no further operations will be executed
- Specified by:
exec
in class MethodOperation
getEntityName
public java.lang.String getEntityName()
rawString
public java.lang.String rawString()
- Description copied from class:
MethodOperation
- Create a raw string representation of the operation, would be similar to original XML
- Specified by:
rawString
in class MethodOperation
expandedString
public java.lang.String expandedString(MethodContext methodContext)
- Description copied from class:
MethodOperation
- Create an expanded string representation of the operation, is for the current context
- Specified by:
expandedString
in class MethodOperation