Class ItemOldPropertyCacheKey
- java.lang.Object
-
- de.hybris.platform.persistence.ItemCacheKey
-
- de.hybris.platform.persistence.property.ItemPropertyCacheKey
-
- de.hybris.platform.persistence.property.ItemOldPropertyCacheKey
-
- All Implemented Interfaces:
PropertyOwner
,java.lang.Cloneable
public final class ItemOldPropertyCacheKey extends ItemPropertyCacheKey
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
QUALI
-
Fields inherited from class de.hybris.platform.persistence.property.ItemPropertyCacheKey
cloned, info, itemPK
-
-
Constructor Summary
Constructors Modifier Constructor Description ItemOldPropertyCacheKey()
protected
ItemOldPropertyCacheKey(PK itemPK)
clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 void
dispose(boolean inRemove)
called when this cache key object is remove from cache.protected java.lang.String
getQualifier()
protected boolean
isValid(ItemEJB item)
-
Methods inherited from class de.hybris.platform.persistence.property.ItemPropertyCacheKey
createUnmodifiableViewOfValue, notifyPropertyDataChanged
-
Methods inherited from class de.hybris.platform.persistence.ItemCacheKey
getCopy, getValueForModification, getValueForReading, getValueForReadingIfAvailable, getValueInternal
-
-
-
-
Constructor Detail
-
ItemOldPropertyCacheKey
public ItemOldPropertyCacheKey()
-
ItemOldPropertyCacheKey
protected ItemOldPropertyCacheKey(PK itemPK)
clone constructor
-
-
Method Detail
-
clone
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Overrides:
clone
in classItemPropertyCacheKey
- Throws:
java.lang.CloneNotSupportedException
-
getQualifier
protected java.lang.String getQualifier()
- Overrides:
getQualifier
in classItemPropertyCacheKey
- Returns:
- an key for the CachedValue that is unique within the Item instance
-
isValid
protected boolean isValid(ItemEJB item)
- Overrides:
isValid
in classItemPropertyCacheKey
- 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:ItemCacheKey
called when this cache key object is remove from cache.- Overrides:
dispose
in classItemPropertyCacheKey
-
computeValue
protected java.lang.Object computeValue(ItemEJB item)
Description copied from class:ItemCacheKey
initially creates the cached data object for a specified item. this method is only called once for one ItemCacheKey instance.- Overrides:
computeValue
in classItemPropertyCacheKey
-
cloneValue
protected java.lang.Object cloneValue(java.lang.Object value)
Description copied from class:ItemCacheKey
this method should clone a cached value object. it will be called duringItemCacheKey.getCopy()
only if this ItemCacheKey object already holds a cached value object.- Overrides:
cloneValue
in classItemPropertyCacheKey
-
-