org.ofbiz.entityext.cache
Class EntityCacheServices
java.lang.Object
org.ofbiz.entityext.cache.EntityCacheServices
- All Implemented Interfaces:
- DistributedCacheClear
public class EntityCacheServices
- extends java.lang.Object
- implements DistributedCacheClear
Entity Engine Cache Services
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
delegator
protected GenericDelegator delegator
dispatcher
protected LocalDispatcher dispatcher
userLoginId
protected java.lang.String userLoginId
EntityCacheServices
public EntityCacheServices()
setDelegator
public void setDelegator(GenericDelegator delegator,
java.lang.String userLoginId)
- Specified by:
setDelegator
in interface DistributedCacheClear
getAuthUserLogin
public GenericValue getAuthUserLogin()
distributedClearCacheLine
public void distributedClearCacheLine(GenericValue value)
- Specified by:
distributedClearCacheLine
in interface DistributedCacheClear
distributedClearCacheLineFlexible
public void distributedClearCacheLineFlexible(GenericEntity dummyPK)
- Specified by:
distributedClearCacheLineFlexible
in interface DistributedCacheClear
distributedClearCacheLineByCondition
public void distributedClearCacheLineByCondition(java.lang.String entityName,
EntityCondition condition)
- Specified by:
distributedClearCacheLineByCondition
in interface DistributedCacheClear
distributedClearCacheLine
public void distributedClearCacheLine(GenericPK primaryKey)
- Specified by:
distributedClearCacheLine
in interface DistributedCacheClear
clearAllCaches
public void clearAllCaches()
- Specified by:
clearAllCaches
in interface DistributedCacheClear
clearAllEntityCaches
public static java.util.Map clearAllEntityCaches(DispatchContext dctx,
java.util.Map context)
- Clear All Entity Caches Service
- Parameters:
ctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters
- Returns:
- Map with the result of the service, the output parameters
clearCacheLine
public static java.util.Map clearCacheLine(DispatchContext dctx,
java.util.Map context)
- Clear Cache Line Service: one of the following context parameters is required: value, dummyPK or primaryKey
- Parameters:
ctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters
- Returns:
- Map with the result of the service, the output parameters