public abstract class Item.CachedSetter
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
CachedSetter()
Creates a setter clearing the whole jalo item cache.
|
protected |
CachedSetter(java.lang.Object key)
Creates a setter clearing a specified unlocalized jalo item cache entry.
|
protected |
CachedSetter(java.lang.Object key,
boolean localized)
Creates a setter clearing a specified jalo item cache entry.
|
protected |
CachedSetter(java.lang.Object key,
boolean localized,
boolean invalidateOnRemovalOnly)
Creates a setter clearing a specified jalo item cache entry.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.Object |
compute(SessionContext ctx) |
java.lang.Object |
set() |
java.lang.Object |
set(SessionContext ctx) |
protected CachedSetter()
protected CachedSetter(java.lang.Object key)
key - the name of the cleared entryprotected CachedSetter(java.lang.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(java.lang.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 java.lang.Object set()
throws Item.JaloCachedComputationException
public final java.lang.Object set(SessionContext ctx) throws Item.JaloCachedComputationException
protected abstract java.lang.Object compute(SessionContext ctx) throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.