|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a single node in the Navigation module.
| Method Summary | |
boolean |
contains(INavigationNode node)
Check if node contains the node recieved as an argument (if merged using merge ID) or if similar to it. |
boolean |
contains(String nodeName)
Check if node contains the node recieved as an argument (if merged using merge ID) or if similar to it. |
Object |
getAttributeValue(String attributeName)
Retrieves an attribute value from the connector node. |
Object |
getAttributeValue(String attributeName,
Locale locale)
Retrieves an attribute value from the connector node, according to the given locale. |
NavigationNodes |
getChildren()
Retrieves a list of node's children. |
NavigationNodes |
getChildrenBeforeMerge()
Retrieves a list of the node's children, without merging them. |
NavigationNodes |
getChildrenWithInivisible()
Retrieves a list of node's children, including nodes that are invisible. |
String |
getDescription(Locale locale)
Retrieves the Description of the node (to be displayed in the navigation UI, if needed). |
int |
getDragRelate()
Retrieves a value defining whether the node is Drag & Relate target. |
String |
getDropJScript()
Retrieves the script that needs to be executed when droping a link on the node. |
String |
getDropJScriptId()
Retrieves the ID of the JavaScript code returned in getDragJScript() (for optimizations). |
String |
getDropPRTEvent()
Retrieves the PRT event that should be added to the iView's URL in case of a drop event. |
int |
getExtWindowHeight()
Retrieves the height of the external window if node is defined to launch externally. |
int |
getExtWindowWidth()
Retrieves the width of the external window if node is defined to launch externally. |
INavigationNode |
getFirstChild()
Retrieves only the first child of the node. |
String |
getHashedName()
Retrieves the hash representation of the full name of the node. |
String |
getLaunchURL()
Retrieves the URL for launching the node. |
String |
getMergeID()
Retrieves the id for merging the node with other siblings |
String |
getName()
Retrieves the name of the node. |
String |
getNavConnectorNamePrefix()
Retrieves the node's navigation connector name prefix. |
double |
getPriority()
Retrieves the priority of the node that allows sorting tabs etc. |
NamingEnumeration |
getRelatedNavigationEntities()
Retrieves a list of nodes having NAVIGATION_GET_RELATED_NAV_ENTITIES relation with the node. |
NavigationNodes |
getRelatedNavigationEntitiesNodes()
Retrieves a list of nodes having NAVIGATION_GET_RELATED_NAV_ENTITIES relation with the node. |
NavigationNodes |
getRelatedSeeAlsoNodes()
Retrieves a list of nodes having NAVIGATION_GET_RELATED_SEE_ALSO relation with the node. |
NavigationNodes |
getRelatedTargetNodes()
Retrieves a list of nodes having NAVIGATION_GET_RELATED_DR_TARGETS relation with the node. |
int |
getShowType()
Retrieves a value indicating whether the node is to be launched in external window (SHOW_EXTERNAL) or in the portal framework page (SHOW_INPLACE). |
String |
getTitle(Locale locale)
Retrieves the title of the node (to be displayed in the navigation UI). |
int |
getVisualizationType()
Retrieves the visualization type for this Node. |
String |
getWindowName()
Retrieves the window Name in which the node will be launched if launched externally. |
boolean |
hasChildren()
Return true is this navigation node has children and false otherwise. |
boolean |
isLaunchable()
Retrieves flag indicating whether the node can be launched. |
boolean |
isMergible()
Retrieves flag indicating whether the node can be merged. |
NamingEnumeration |
listBindings(String name,
String mode)
Enumerates the names bound in the named context, along with the objects bound to them. |
| Method Detail |
public Object getAttributeValue(String attributeName)
throws NoSuchAttributeException
attributeName - the attribute name for retrieval.
NoSuchAttributeException
public Object getAttributeValue(String attributeName,
Locale locale)
throws NoSuchAttributeException
attributeName - the attribute name for retrieval.locale - locale requested for the attribute.
NoSuchAttributeExceptionpublic String getTitle(Locale locale)
locale - locale requested for the title.
public String getDescription(Locale locale)
locale - locale requested for the Description.
public String getName()
public String getHashedName()
public NamingEnumeration listBindings(String name,
String mode)
throws NamingException
name - the name of the context to list.mode - defining the relation between the node and the requested nodes
list.
NamingException
public NavigationNodes getChildren()
throws NamingException
NamingException - If naming operation while looking for children
throws exception.
public NavigationNodes getChildrenWithInivisible()
throws NamingException
NamingException - If naming operation while looking for children
throws exception.
public NavigationNodes getChildrenBeforeMerge()
throws NamingException
NamingException - If naming operation while looking for children
throws exception.
public boolean hasChildren()
throws NamingException
NamingException - If naming operation while looking for children
throws exception.
public INavigationNode getFirstChild()
throws NamingException
NamingException - If naming operation while looking for children
throws exception.
public NavigationNodes getRelatedSeeAlsoNodes()
throws NamingException
NamingException - If naming operation while looking for nodes throws exception.
public NavigationNodes getRelatedTargetNodes()
throws NamingException
NamingException - If naming operation while looking for nodes throws exception.
public NamingEnumeration getRelatedNavigationEntities()
throws NamingException
NamingException - If naming operation while looking for nodes throws exception.
public NavigationNodes getRelatedNavigationEntitiesNodes()
throws NamingException
NamingException - If naming operation while looking for nodes throws exception.public double getPriority()
public int getVisualizationType()
public boolean isLaunchable()
public String getLaunchURL()
public int getDragRelate()
public String getDropJScript()
throws UnsupportedOperationException
UnsupportedOperationException - if node does not support scripts for drop events.
public String getDropJScriptId()
throws UnsupportedOperationException
UnsupportedOperationException - if node does not support scripts for drop events.
public String getDropPRTEvent()
throws UnsupportedOperationException
UnsupportedOperationException - if node does not support scripts for drop events.public int getShowType()
public boolean isMergible()
public String getMergeID()
throws UnsupportedOperationException
UnsupportedOperationException - if node does not support merging.
public String getWindowName()
throws UnsupportedOperationException
UnsupportedOperationException - Window name is not supported or node defined to be launched
in portal framework page.
public int getExtWindowHeight()
throws UnsupportedOperationException
UnsupportedOperationException - width is not supported or node defined to be launched
in place.
public int getExtWindowWidth()
throws UnsupportedOperationException
UnsupportedOperationException - width is not supported or node defined to be launched
in place.public String getNavConnectorNamePrefix()
public boolean contains(INavigationNode node)
node - navigation node for checking (result of merging operation done
using the merge ID of the nodes).
public boolean contains(String nodeName)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||