Package org.apache.ofbiz.entity.eca
Interface EntityEcaHandler<T>
-
- All Known Implementing Classes:
DelegatorEcaHandler
public interface EntityEcaHandler<T>
EntityEcaHandler interface
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EV_CACHE_CHECK
static java.lang.String
EV_CACHE_CLEAR
Invoked after the entity operation, but before the cache is cleared.static java.lang.String
EV_CACHE_PUT
static java.lang.String
EV_RETURN
static java.lang.String
EV_RUN
static java.lang.String
EV_VALIDATE
static java.lang.String
OP_CREATE
static java.lang.String
OP_FIND
static java.lang.String
OP_REMOVE
static java.lang.String
OP_STORE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
evalRules(java.lang.String currentOperation, java.util.Map<java.lang.String,java.util.List<T>> eventMap, java.lang.String event, GenericEntity value, boolean isError)
java.util.Map<java.lang.String,java.util.List<T>>
getEntityEventMap(java.lang.String entityName)
void
setDelegator(Delegator delegator)
-
-
-
Field Detail
-
EV_VALIDATE
static final java.lang.String EV_VALIDATE
- See Also:
- Constant Field Values
-
EV_RUN
static final java.lang.String EV_RUN
- See Also:
- Constant Field Values
-
EV_RETURN
static final java.lang.String EV_RETURN
- See Also:
- Constant Field Values
-
EV_CACHE_CLEAR
static final java.lang.String EV_CACHE_CLEAR
Invoked after the entity operation, but before the cache is cleared.- See Also:
- Constant Field Values
-
EV_CACHE_CHECK
static final java.lang.String EV_CACHE_CHECK
- See Also:
- Constant Field Values
-
EV_CACHE_PUT
static final java.lang.String EV_CACHE_PUT
- See Also:
- Constant Field Values
-
OP_CREATE
static final java.lang.String OP_CREATE
- See Also:
- Constant Field Values
-
OP_STORE
static final java.lang.String OP_STORE
- See Also:
- Constant Field Values
-
OP_REMOVE
static final java.lang.String OP_REMOVE
- See Also:
- Constant Field Values
-
OP_FIND
static final java.lang.String OP_FIND
- See Also:
- Constant Field Values
-
-
Method Detail
-
setDelegator
void setDelegator(Delegator delegator)
-
getEntityEventMap
java.util.Map<java.lang.String,java.util.List<T>> getEntityEventMap(java.lang.String entityName)
-
evalRules
void evalRules(java.lang.String currentOperation, java.util.Map<java.lang.String,java.util.List<T>> eventMap, java.lang.String event, GenericEntity value, boolean isError) throws GenericEntityException
- Throws:
GenericEntityException
-
-