public class ItemACLCacheKey extends ItemCacheKey
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_QUALIFIER |
protected boolean |
cloned |
protected PK |
itemPK |
| Modifier | Constructor and Description |
|---|---|
|
ItemACLCacheKey() |
protected |
ItemACLCacheKey(PK itemPK)
clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
protected Object |
cloneValue(Object value)
this method should clone a cached value object.
|
protected Object |
computeValue(ItemEJB item)
initially creates the cached data object for a specified item.
|
protected Object |
createUnmodifiableViewOfValue(Object value)
it's ok to return the result of
getValue in this method; otherwise, the returned object has to
reflect subsequent changes of the object returned by getValue |
protected void |
dispose(boolean inRemove)
called when this cache key object is remove from cache.
|
protected String |
getQualifier() |
protected boolean |
isValid(ItemEJB item) |
getCopy, getValueForModification, getValueForReading, getValueForReadingIfAvailable, getValueInternalpublic static final String BASE_QUALIFIER
protected final boolean cloned
protected PK itemPK
public ItemACLCacheKey()
protected ItemACLCacheKey(PK itemPK)
protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionprotected String getQualifier()
getQualifier in class ItemCacheKeyprotected boolean isValid(ItemEJB item)
isValid in class ItemCacheKeyprotected void dispose(boolean inRemove)
ItemCacheKeydispose in class ItemCacheKeyprotected Object computeValue(ItemEJB item)
ItemCacheKeycomputeValue in class ItemCacheKeyprotected Object cloneValue(Object value)
ItemCacheKeyItemCacheKey.getCopy() only if this
ItemCacheKey object already holds a cached value object.cloneValue in class ItemCacheKeyprotected Object createUnmodifiableViewOfValue(Object value)
ItemCacheKeygetValue in this method; otherwise, the returned object has to
reflect subsequent changes of the object returned by getValuecreateUnmodifiableViewOfValue in class ItemCacheKeyCopyright © 2017 SAP SE. All Rights Reserved.