1 25 package org.ofbiz.entity.eca; 26 27 import java.util.*; 28 import org.ofbiz.entity.*; 29 30 37 public interface EntityEcaHandler { 38 39 public static final String EV_VALIDATE = "validate"; 40 public static final String EV_RUN = "run"; 41 public static final String EV_RETURN = "return"; 42 public static final String EV_CACHE_CLEAR = "cache-clear"; 43 public static final String EV_CACHE_CHECK = "cache-check"; 44 public static final String EV_CACHE_PUT = "cache-put"; 45 46 public static final String OP_CREATE = "create"; 47 public static final String OP_STORE = "store"; 48 public static final String OP_REMOVE = "remove"; 49 public static final String OP_FIND = "find"; 50 51 52 public void setDelegator(GenericDelegator delegator); 53 54 public Map getEntityEventMap(String entityName); 55 56 public void evalRules(String currentOperation, Map eventMap, String event, GenericEntity value, boolean isError) throws GenericEntityException; 57 } 58 | Popular Tags |