Class SLDPermissionManagementStrategy.AclCacheUnit
- java.lang.Object
-
- de.hybris.platform.cache.AbstractCacheUnit
-
- de.hybris.platform.servicelayer.security.permissions.impl.SLDPermissionManagementStrategy.AclCacheUnit
-
- All Implemented Interfaces:
CacheValueLoader
- Enclosing class:
- SLDPermissionManagementStrategy
public static class SLDPermissionManagementStrategy.AclCacheUnit extends AbstractCacheUnit
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GLOBAL_ACL
static java.lang.String
ITEM_ACL
-
Fields inherited from class de.hybris.platform.cache.AbstractCacheUnit
cacheKey, INVALIDATIONTYPE_CREATED, INVALIDATIONTYPE_MODIFIED, INVALIDATIONTYPE_MODIFIED_STRING, INVALIDATIONTYPE_REMOVED, INVALIDATIONTYPE_REMOVED_STRING, UNKNOWN
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PermissionDAO.AclContainer
compute()
java.lang.Object[]
createKey()
PermissionDAO.AclContainer
getAsContainer()
static SLDPermissionManagementStrategy.AclCacheUnit
globalCacheUnit(Cache cache, PK principalPk, java.util.function.Supplier<PermissionDAO.AclContainer> getter)
static SLDPermissionManagementStrategy.AclCacheUnit
itemCacheUnit(Cache cache, PK itemPk, java.util.function.Supplier<PermissionDAO.AclContainer> getter)
-
Methods inherited from class de.hybris.platform.cache.AbstractCacheUnit
addedToCacheBeforeComputation, equals, executeInvalidation, get, getCache, getInvalidationTopicDepth, getKey, getKeyAsArray, getLoader, getTenantID, getWithoutCompute, getWithoutComputeIgnoringTransaction, hashCode, hintValue, invalidate, isCachingSupported, isValueKnown, load, removedFromCache, toString, useCache
-
-
-
-
Field Detail
-
GLOBAL_ACL
public static final java.lang.String GLOBAL_ACL
- See Also:
- Constant Field Values
-
ITEM_ACL
public static final java.lang.String ITEM_ACL
- See Also:
- Constant Field Values
-
-
Method Detail
-
itemCacheUnit
public static SLDPermissionManagementStrategy.AclCacheUnit itemCacheUnit(Cache cache, PK itemPk, java.util.function.Supplier<PermissionDAO.AclContainer> getter)
-
globalCacheUnit
public static SLDPermissionManagementStrategy.AclCacheUnit globalCacheUnit(Cache cache, PK principalPk, java.util.function.Supplier<PermissionDAO.AclContainer> getter)
-
createKey
public java.lang.Object[] createKey()
- Specified by:
createKey
in classAbstractCacheUnit
-
compute
public PermissionDAO.AclContainer compute() throws java.lang.Exception
- Specified by:
compute
in classAbstractCacheUnit
- Throws:
java.lang.Exception
-
getAsContainer
public PermissionDAO.AclContainer getAsContainer()
-
-