public class ItemACLCacheKey extends ItemCacheKey
| Modifier and Type | Field and Description |
|---|---|
static java.lang.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 java.lang.Object |
clone() |
protected java.lang.Object |
cloneValue(java.lang.Object value)
this method should clone a cached value object.
|
protected java.lang.Object |
computeValue(ItemEJB item)
initially creates the cached data object for a specified item.
|
protected java.lang.Object |
createUnmodifiableViewOfValue(java.lang.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 java.lang.String |
getQualifier() |
protected boolean |
isValid(ItemEJB item) |
getCopy, getValueForModification, getValueForReading, getValueForReadingIfAvailable, getValueInternalpublic static final java.lang.String BASE_QUALIFIER
protected final boolean cloned
protected PK itemPK
public ItemACLCacheKey()
protected ItemACLCacheKey(PK itemPK)
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionprotected java.lang.String getQualifier()
getQualifier in class ItemCacheKeyprotected boolean isValid(ItemEJB item)
isValid in class ItemCacheKeyprotected void dispose(boolean inRemove)
ItemCacheKeydispose in class ItemCacheKeyprotected java.lang.Object computeValue(ItemEJB item)
ItemCacheKeycomputeValue in class ItemCacheKeyprotected java.lang.Object cloneValue(java.lang.Object value)
ItemCacheKeyItemCacheKey.getCopy() only if this
ItemCacheKey object already holds a cached value object.cloneValue in class ItemCacheKeyprotected java.lang.Object createUnmodifiableViewOfValue(java.lang.Object value)
ItemCacheKeygetValue in this method; otherwise, the returned object has to
reflect subsequent changes of the object returned by getValuecreateUnmodifiableViewOfValue in class ItemCacheKeyCopyright © 2018 SAP SE. All Rights Reserved.