|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface INavigationHelperService
The interface for a helper class for querying the navigation service about the navigation hierarchy
of the current user.
Most of the methods in this class wrap navigation service methods for accessing commonly needed navigation
nodes. The two main advantages of the helper class are:
| Field Summary | |
|---|---|
static String |
KEY
|
| Method Summary | |
|---|---|
INavigationNode |
getCurrentContextNavNode(IPortalComponentRequest request)
Returns the context node from the request or session. |
INavigationNode |
getCurrentLaunchNavNode(IPortalComponentRequest request)
Returns the launchable navigation target. |
INavigationNode |
getCurrentNavNode(IPortalComponentRequest request)
Returns the navigation target. |
INavigationNode |
getDefaultPageForFolder(INavigationNode folderNode,
Hashtable env)
Returns the default page for this folder. |
INavigationNode |
getFirstNode(IPortalComponentRequest request)
Returns the first navigation node in the tree in the highest level of hierarchy. |
String |
getInternalURL(String nodeURL)
Returns the node URL without its prefix. |
NavigationNodes |
getNavNodesListForTarget(IPortalComponentRequest request,
INavigationNode targetNode)
Returns the navigation nodes from the specified node to the entry point for this node. |
NavigationNodes |
getNavNodesListForTarget(IPortalComponentRequest request,
INavigationNode targetNode,
int pathLength)
|
ArrayList |
getNavNodesPathIndexesList(IPortalComponentRequest request)
Returns the integers that correspond to the current context node path. |
INavigationNode |
getParentNode(INavigationNode node,
IPortalComponentRequest request)
Returns the parent node of a specified node. |
INavigationNode |
getPersonalizePortalNode(IPortalComponentRequest request)
Returns the initial node for portal personalization. |
String |
getPrefix(String nodeURL)
Returns the prefix of the node URL. |
NavigationNodes |
getRealInitialNodes(IPortalComponentRequest request)
Returns the initial nodes that are to be the entry points for the navigation iViews (TLN/DTN). |
boolean |
updateDesktopFilterViewMap(String desktopURL,
String value)
Update the desktop map in the helper service, this method will be call by the desktop editor after the save |
| Field Detail |
|---|
static final String KEY
| Method Detail |
|---|
INavigationNode getCurrentContextNavNode(IPortalComponentRequest request)
navPathUpdate parameter (in URL) is not set to true.
request - the request in which the navigation node is launched
INavigationNode getCurrentNavNode(IPortalComponentRequest request)
request - the request in which the navigation node is launched
INavigationNode getCurrentLaunchNavNode(IPortalComponentRequest request)
request - the request in which the navigation node is launched
NavigationNodes getNavNodesListForTarget(IPortalComponentRequest request,
INavigationNode targetNode)
request - the request in which the navigation node is launchedtargetNode - the target node for path calculation
NavigationNodes getNavNodesListForTarget(IPortalComponentRequest request,
INavigationNode targetNode,
int pathLength)
String getInternalURL(String nodeURL)
://. If found, returns the text after the separator.:. If found, returns the text after the separator.
nodeURL - the node URL
String getPrefix(String nodeURL)
://. If found, returns the text before the separator.:. If found, returns the text before the separator.
nodeURL - the node URL
INavigationNode getPersonalizePortalNode(IPortalComponentRequest request)
request - the request in which the navigation node is launched
NavigationNodes getRealInitialNodes(IPortalComponentRequest request)
request - the request in which the navigation node is launched
INavigationNode getFirstNode(IPortalComponentRequest request)
request - the request in which the navigation node is launched
INavigationNode getParentNode(INavigationNode node,
IPortalComponentRequest request)
node - a navigation noderequest - the request in which the navigation node is launched
ArrayList getNavNodesPathIndexesList(IPortalComponentRequest request)
request - the request in which the navigation node is launched
boolean updateDesktopFilterViewMap(String desktopURL,
String value)
INavigationNode getDefaultPageForFolder(INavigationNode folderNode,
Hashtable env)
folderNode - the folder node to get the default page for
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||