Package org.apache.ofbiz.entityext.eca
Class EntityEcaRule
- java.lang.Object
-
- org.apache.ofbiz.entityext.eca.EntityEcaRule
-
- All Implemented Interfaces:
Serializable
public final class EntityEcaRule extends Object implements Serializable
Entity event-condition-action rule.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EntityEcaRule(Element eca)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
void
eval(String currentOperation, DispatchContext dctx, GenericEntity value, boolean isError, Set<String> actionsRun)
List<Object>
getActionsAndSets()
List<EntityEcaCondition>
getConditions()
String
getEntityName()
String
getEventName()
String
getOperationName()
boolean
getRunOnError()
int
hashCode()
boolean
isEnabled()
void
setEnabled(boolean enabled)
Deprecated.Not thread-safe, no replacement.String
toString()
-
-
-
Field Detail
-
module
public static final String module
-
-
Constructor Detail
-
EntityEcaRule
public EntityEcaRule(Element eca)
-
-
Method Detail
-
getEntityName
public String getEntityName()
-
getOperationName
public String getOperationName()
-
getEventName
public String getEventName()
-
getRunOnError
public boolean getRunOnError()
-
getConditions
public List<EntityEcaCondition> getConditions()
-
eval
public void eval(String currentOperation, DispatchContext dctx, GenericEntity value, boolean isError, Set<String> actionsRun) throws GenericEntityException
- Throws:
GenericEntityException
-
setEnabled
@Deprecated public void setEnabled(boolean enabled)
Deprecated.Not thread-safe, no replacement.- Parameters:
enabled
-
-
isEnabled
public boolean isEnabled()
-
-