public final class NavigationMemory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NAVIGATION_MEMORY_KEY
Deprecated.
|
| Constructor and Description |
|---|
NavigationMemory(int size,
IResourceContext context)
Deprecated.
As of NetWeaver 7.1
|
NavigationMemory(int size,
RID startRID,
IResourceContext context)
Deprecated.
As of NetWeaver 7.1
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCurrent(ICollection current,
RID startRID)
Deprecated.
|
void |
addCurrent(RID rid,
RID startRID)
Deprecated.
since NW07, SPS14
This method must not be used anymore. Use
addCurrent(ICollection, RID)
instead. Reason: This class does not hold an IResourceContext anymore. So it can't be
verified, if the given rid is actually pointing to a folder or not.
This method will now do nothing except generating a default-trace entry that allows to find
implementations that need to be adapted. |
void |
addTarget(ICollection target,
RID startRID)
Deprecated.
adds the given colletion as new target for a navigation command
|
void |
addTarget(RID rid,
RID startRID)
Deprecated.
since NW07, SPS 14
This method must not be used anymore. Use
addTarget(ICollection, RID)
instead. Reason: This class does not hold an IResourceContext anymore. So it can't be
verified, if the given rid is actually pointing to a folder or not This method will now do nothing except generating a default-trace entry that allows to find implementations that need to be adapted. |
List |
getCurrents()
Deprecated.
As of NetWeaver 7.1
|
List |
getCurrents(RID rid,
RID startRID,
int maxNumber)
Deprecated.
As of NetWeaver 7.1
|
List |
getTargets()
Deprecated.
As of NetWeaver 7.1
|
List |
getTargets(RID rid,
RID startRID,
int maxNumber)
Deprecated.
As of NetWeaver 7.1
|
void |
reset()
Deprecated.
As of NetWeaver 7.1
|
public static final String NAVIGATION_MEMORY_KEY
public NavigationMemory(int size,
RID startRID,
IResourceContext context)
size - must be between 0 and 100, otherwise the default value of 15 is usedcontext - not usedpublic NavigationMemory(int size,
IResourceContext context)
size - must be between 0 and 100, otherwise the default value of 15 is usedcontext - not usedpublic void addTarget(RID rid, RID startRID)
addTarget(ICollection, RID)
instead. Reason: This class does not hold an IResourceContext anymore. So it can't be
verified, if the given rid is actually pointing to a folder or not rid - startRID - public void addTarget(ICollection target, RID startRID)
target - must not be nullstartRID - must not be nullpublic void addCurrent(RID rid, RID startRID)
addCurrent(ICollection, RID)
instead. Reason: This class does not hold an IResourceContext anymore. So it can't be
verified, if the given rid is actually pointing to a folder or not.
This method will now do nothing except generating a default-trace entry that allows to find
implementations that need to be adapted.rid - startRID - public void addCurrent(ICollection current, RID startRID)
current - the collection to add to the list of current targets. Must not be nullstartRID - the start rid of the current navigation iView. Must not be nullpublic void reset()
public List getTargets()
public List getCurrents()
public List getTargets(RID rid, RID startRID, int maxNumber)
| 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