public interface IPersistenceProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
addObjectToCache(Object key,
Object value,
boolean overwrite)
Deprecated.
As of NetWeaver 7.1
|
Set |
getKeySet()
Deprecated.
As of NetWeaver 7.1
|
Object |
getObjectFromCache(Object key)
Deprecated.
As of NetWeaver 7.1
|
boolean |
removeObjectFromCache(Object key)
Deprecated.
As of NetWeaver 7.1
|
Object getObjectFromCache(Object key)
IResourceRenderer that cannot use
the WDF persistence service, can use this method and addObjectToCache
to store elements in the cache and to persist them through the http-request cycle.
Please note, that it's the calling object's responsibility to ensure the uniqueness
of its keys.key - the key to the object in the Cachenull, if this key
is not known in the cache.boolean addObjectToCache(Object key, Object value, boolean overwrite)
key - the key to store and retrieve the stored object withvalue - the value to storeoverwrite - flag, to decide, if an existing key-value pair should
be replaced with the given set.
Please see getObjectFromCache for further information about
this methodfalseboolean removeObjectFromCache(Object key)
IUser
may not implement an automatic expiration of unused entries.Set getKeySet()
Set, never null| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2017 SAP AG Complete Copyright Notice