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