| Modifier | Constructor and Description |
|---|---|
protected |
CachedSetter()
Creates a setter clearing the whole jalo item cache.
|
protected |
CachedSetter(Object key)
Creates a setter clearing a specified unlocalized jalo item cache entry.
|
protected |
CachedSetter(Object key,
boolean localized)
Creates a setter clearing a specified jalo item cache entry.
|
protected |
CachedSetter(Object key,
boolean localized,
boolean invalidateOnRemovalOnly)
Creates a setter clearing a specified jalo item cache entry.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
compute(SessionContext ctx) |
Object |
set() |
Object |
set(SessionContext ctx) |
protected CachedSetter()
protected CachedSetter(Object key)
key - the name of the cleared entryprotected CachedSetter(Object key, boolean localized)
key - the name of the cleared entrylocalized - tells whether the entry is localized or not - localized entries have one value per language so the
value for the current session language is cleared onlyprotected CachedSetter(Object key, boolean localized, boolean invalidateOnRemovalOnly)
key - the name of the cleared entrylocalized - tells whether the entry is localized or not - localized entries have one value per language so the
value for the current session language is cleared onlyinvalidateOnRemovalOnly - chooses a separate cache which is invalidated on item removal only - use with care !public final Object set() throws Item.JaloCachedComputationException
public final Object set(SessionContext ctx) throws Item.JaloCachedComputationException
protected abstract Object compute(SessionContext ctx) throws Exception
ExceptionCopyright © 2017 SAP SE. All Rights Reserved.