|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface INavigationNamingHandler
The helper interface to INavigationConnectorNamingHandler that
provides additional methods for getting a parent or child navigation node.
DefaultNavigationNamingHandler,
INavigationConnectorNamingHandler| Method Summary | |
|---|---|
String |
composeName(Hashtable environment,
String baseNodeURL,
int numberOfLevelsUp,
String[] children)
Creates the name of the navigation target node specified by the active node and a relative path to it. |
String |
composeName(Hashtable environment,
String connectorPrefix,
String baseNodeURL,
int numberOfLevelsUp,
String[] children)
Creates the name of the navigation target node by the active node and a relative path to it. |
INavigationNode |
createNavigationNode(INavigationConnectorNode connNode,
String connectorPrefix,
String nodeName,
Hashtable environment)
Creates a navigation node object. |
String |
getNavNodeChildName(Hashtable environment,
String activeNodeName,
String childNodeName)
Gets the navigation node name of the child of the specified node. |
String |
getNavNodeParentName(Hashtable environment,
String childNodeName)
Gets the navigation node name of the parent of the specified node. |
| Method Detail |
|---|
String getNavNodeParentName(Hashtable environment,
String childNodeName)
throws NamingException
environment - the user contextchildNodeName - a child node name
NamingException - if the node name is not valid
String getNavNodeChildName(Hashtable environment,
String activeNodeName,
String childNodeName)
throws NamingException
environment - the user contextactiveNodeName - a parent node namechildNodeName - the atomic child node name
NamingException - if the node name is not valid
String composeName(Hashtable environment,
String baseNodeURL,
int numberOfLevelsUp,
String[] children)
throws NamingException
pcd:role1/folder1/folder2/folder3/workset1/page1
pcd:role1/folder1/folder2/folder4/workset2/page2
composeName ("pcd:role1/folder1/folder2/folder3/workset1/page1", 3, {"folder4", "workset2", "page2"});
environment - the user contextbaseNodeURL - a fully qualified URL of the active nodenumberOfLevelsUp - the number of levels of parents to searchchildren - an array of the atomic names of the
children (including the target node)
NamingException - if a validation check is performed and the
active node does not exist
String composeName(Hashtable environment,
String connectorPrefix,
String baseNodeURL,
int numberOfLevelsUp,
String[] children)
throws NamingException
baseNodeURL.
environment - the user contextconnectorPrefix - the connector prefix for this node.baseNodeURL - a fully qualified URL of the active nodenumberOfLevelsUp - the number of levels of parents to searchchildren - an array of the atomic names of the
children (including the target node)
NamingException - if a validation check is performed and the
active node does not exist
INavigationNode createNavigationNode(INavigationConnectorNode connNode,
String connectorPrefix,
String nodeName,
Hashtable environment)
connNode - a navigation connector nodeconnectorPrefix - a prefix for the navigation connectornodeName - the name of the node to be createdenvironment - the user context
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||