public interface INavigationHelperService
SAP API Classification: | Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getDesktopFilter(IPortalComponentRequest request)
Returns the value of the Filter ID property for the desktop, associated with the request
|
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).
|
NavigationNodes |
getRealInitialNodes(com.sap.security.api.IUser user,
HttpServletRequest 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
|
static final String KEY
INavigationNode getCurrentContextNavNode(IPortalComponentRequest request)
navPathUpdate parameter (in URL) is not set to true.request - the request in which the navigation node is launchedINavigationNode getCurrentNavNode(IPortalComponentRequest request)
request - the request in which the navigation node is launchedINavigationNode getCurrentLaunchNavNode(IPortalComponentRequest request)
request - the request in which the navigation node is launchedNavigationNodes getNavNodesListForTarget(IPortalComponentRequest request, INavigationNode targetNode)
request - the request in which the navigation node is launchedtargetNode - the target node for path calculationNavigationNodes 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 URLString getPrefix(String nodeURL)
://. If found, returns the text before the separator.:. If found, returns the text before the separator.nodeURL - the node URLINavigationNode getPersonalizePortalNode(IPortalComponentRequest request)
request - the request in which the navigation node is launchedNavigationNodes getRealInitialNodes(IPortalComponentRequest request)
request - the PortalComponentRequest request in which the navigation node is launchedNavigationNodes getRealInitialNodes(com.sap.security.api.IUser user, HttpServletRequest request)
user - the current userrequest - the HttpServletRequest request in which the navigation node is launchedINavigationNode getFirstNode(IPortalComponentRequest request)
request - the request in which the navigation node is launchedINavigationNode getParentNode(INavigationNode node, IPortalComponentRequest request)
node - a navigation noderequest - the request in which the navigation node is launchedArrayList getNavNodesPathIndexesList(IPortalComponentRequest request)
request - the request in which the navigation node is launchedboolean updateDesktopFilterViewMap(String desktopURL, String value)
String getDesktopFilter(IPortalComponentRequest request)
request - the portal component requestnull, if filtering is disabledINavigationNode 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
|
Copyright 2021 SAP SE Complete Copyright Notice