public final class NavigationMemorizer extends Object implements INavigationMemorizer
NavigationMemory and
the ICache that acts as persistence layer to keep the navigation
memory across http-requests. For each IUser, there will be only one
entry in this memorizer. Entries will be deleted over time. See the ICache
for details. This class is implemented as a singleton. The method getId
of the class IUser should be used to add, modify and delete entries
within this class.| Modifier and Type | Method and Description |
|---|---|
boolean |
addMemory(NavigationMemory memory,
String key,
boolean overwrite)
Deprecated.
As of NetWeaver 7.1
|
static NavigationMemorizer |
getInstance()
Deprecated.
As of NetWeaver 7.1
|
NavigationMemory |
getMemory(String key)
Deprecated.
As of NetWeaver 7.1
|
IRidList |
getRecent(IResource resource)
Deprecated.
As of NetWeaver 7.1
|
boolean |
isExcluded(RID rid)
Deprecated.
As of NetWeaver 7.1
|
boolean |
removeMemory(String key)
Deprecated.
As of NetWeaver 7.1
|
public boolean isExcluded(RID rid)
public static NavigationMemorizer getInstance()
public NavigationMemory getMemory(String key)
NavigationMemory instance that has been added with the given
key via this class' addMemory method. If the NavigationMemorizer has not been
initialized properly or no entry is available for the given key, the method will return
null.key - the key that has been used to add the requested object via this class'
addMemory method. Must not be null.NavigationMemory for the given key or null.public boolean addMemory(NavigationMemory memory, String key, boolean overwrite)
public boolean removeMemory(String key)
public IRidList getRecent(IResource resource)
INavigationMemorizergetRecent in interface INavigationMemorizerresource - current resource| 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 2021 SAP SE Complete Copyright Notice