Class ItemACLCacheKey
java.lang.Object
de.hybris.platform.persistence.ItemCacheKey
de.hybris.platform.persistence.security.ItemACLCacheKey
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
GlobalACLCacheKey
item cache key for keeping an item's acl inside a cache object.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()protected ObjectcloneValue(Object value) this method should clone a cached value object.protected ObjectcomputeValue(ItemEJB item) initially creates the cached data object for a specified item.protected Objectit's ok to return the result ofgetValuein this method; otherwise, the returned object has to reflect subsequent changes of the object returned by getValueprotected voiddispose(boolean inRemove) called when this cache key object is remove from cache.protected Stringprotected booleanMethods inherited from class de.hybris.platform.persistence.ItemCacheKey
getCopy, getValueForModification, getValueForReading, getValueForReadingIfAvailable, getValueInternal
-
Field Details
-
BASE_QUALIFIER
- See Also:
-
cloned
protected final boolean cloned -
itemPK
-
-
Constructor Details
-
ItemACLCacheKey
public ItemACLCacheKey() -
ItemACLCacheKey
clone constructor
-
-
Method Details
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getQualifier
- Specified by:
getQualifierin classItemCacheKey- Returns:
- an key for the CachedValue that is unique within the Item instance
-
isValid
- Specified by:
isValidin classItemCacheKey- Returns:
- true if the cache key object is still valid for the given item. this is called each time when the cache key is retrieved.
-
dispose
protected void dispose(boolean inRemove) Description copied from class:ItemCacheKeycalled when this cache key object is remove from cache.- Overrides:
disposein classItemCacheKey
-
computeValue
Description copied from class:ItemCacheKeyinitially creates the cached data object for a specified item. this method is only called once for one ItemCacheKey instance.- Specified by:
computeValuein classItemCacheKey
-
cloneValue
Description copied from class:ItemCacheKeythis method should clone a cached value object. it will be called duringItemCacheKey.getCopy()only if this ItemCacheKey object already holds a cached value object.- Specified by:
cloneValuein classItemCacheKey
-
createUnmodifiableViewOfValue
Description copied from class:ItemCacheKeyit's ok to return the result ofgetValuein this method; otherwise, the returned object has to reflect subsequent changes of the object returned by getValue- Specified by:
createUnmodifiableViewOfValuein classItemCacheKey
-