|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.base.NavigationMemorizer
acts as a layer between each instance of a 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.
| Method Summary | |
boolean |
addMemory(NavigationMemory memory,
String key,
boolean overwrite)
|
void |
configEvent(ConfigEvent arg0)
|
String |
getConfigListenerId()
|
static NavigationMemorizer |
getInstance()
|
NavigationMemory |
getMemory(String key)
returns the NavigationMemory instance that has been added with the given
key via this class' addMemory method. |
IRidList |
getRecent(IResource resource)
Gets session navigation information for a user |
boolean |
isExcluded(RID rid)
|
boolean |
removeMemory(String key)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
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)
INavigationMemorizer
getRecent in interface INavigationMemorizerresource - current resource
public String getConfigListenerId()
public void configEvent(ConfigEvent arg0)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||