Package org.apache.ofbiz.entityext.eca
Class DelegatorEcaHandler
java.lang.Object
org.apache.ofbiz.entityext.eca.DelegatorEcaHandler
- All Implemented Interfaces:
EntityEcaHandler<EntityEcaRule>
EntityEcaUtil
-
Field Summary
Fields inherited from interface org.apache.ofbiz.entity.eca.EntityEcaHandler
EV_CACHE_CHECK, EV_CACHE_CLEAR, EV_CACHE_PUT, EV_RETURN, EV_RUN, EV_VALIDATE, OP_CREATE, OP_FIND, OP_REMOVE, OP_STORE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
evalRules
(String currentOperation, Map<String, List<EntityEcaRule>> eventMap, String event, GenericEntity value, boolean isError) protected DispatchContext
Gets dispatch context.getEntityEventMap
(String entityName) void
setDelegator
(Delegator delegator)
-
Constructor Details
-
DelegatorEcaHandler
public DelegatorEcaHandler()
-
-
Method Details
-
setDelegator
- Specified by:
setDelegator
in interfaceEntityEcaHandler<EntityEcaRule>
-
getDispatchContext
Gets dispatch context.- Returns:
- the dispatch context
- Throws:
GenericEntityException
- the generic entity exception
-
getEntityEventMap
- Specified by:
getEntityEventMap
in interfaceEntityEcaHandler<EntityEcaRule>
-
evalRules
public void evalRules(String currentOperation, Map<String, List<EntityEcaRule>> eventMap, String event, GenericEntity value, boolean isError) throws GenericEntityException- Specified by:
evalRules
in interfaceEntityEcaHandler<EntityEcaRule>
- Throws:
GenericEntityException
-