|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.portal.navigation.AbstractNavigationConnectorNode
public abstract class AbstractNavigationConnectorNode
The base class that represents a navigation connector node.
A connector creates a tree of initial nodes, and each of these
nodes is responsible for its own children (as defined in the
listBindings method).
| Field Summary | |
|---|---|
static String |
NAVIGATION_DEFAULT_FOLDER_PAGE_ATTR
A constant that defines the PCD attribute name for a navigation default page for a folder. |
static String |
NAVIGATION_GET_CHILDREN
A constant that defines a type that indicates that all the children of a specified node should be returned. |
static String |
NAVIGATION_GET_FIRST_CHILD
A constant that defines a type that indicates that only the first child of a specified node should be returned (according to the sort priority, if one exists). |
static String |
NAVIGATION_GET_RELATED_DR_TARGETS
A constant that defines a type that indicates that all the Drag&Relate targets of a specified node should be returned. |
static String |
NAVIGATION_GET_RELATED_NAV_ENTITIES
A constant that defines a type that indicates that all the dynamic navigation iViews of a specified node should be returned. |
static String |
NAVIGATION_GET_RELATED_SEE_ALSO
A constant that defines a type that indicates that all the related links of a specified node should be returned. |
static String |
NAVIGATION_INVISIBLE_ATTR
A constant that defines the PCD attribute name for a navigation invisible page. |
boolean |
USE_OLD_INTERFACE
For internal use. |
| Constructor Summary | |
|---|---|
AbstractNavigationConnectorNode()
|
|
| Method Summary | |
|---|---|
boolean |
forCahceOnly()
Allows the connector to insert objects to the cache |
NamingEnumeration |
getAllCollections()
Gets all visible node collections attached to the node. |
NamingEnumeration |
getAllExternalIviews()
Gets the all external iView nodes. |
abstract Object |
getAttributeValue(String attributeName)
Gets an attribute value from the connector node. |
abstract Object |
getAttributeValue(String attributeName,
Locale locale)
Gets an attribute value from the connector node, according to the specified locale. |
NamingEnumeration |
getCollection(String collectionName)
Gets the specified node collection attached to the node. |
abstract String |
getDescription(Locale locale)
Gets the description of the node to be displayed in the navigation user interface according to the specified locale. |
abstract int |
getDragRelate()
Indicates whether the node is a Drag&Relate target. |
NamingEnumeration |
getExternalIview(String externalIviewName)
Gets the specified external iView node. |
abstract int |
getExtWindowHeight()
Gets the height of the external window if the node is defined to launch externally. |
abstract int |
getExtWindowWidth()
Gets the width of the external window if the node is defined to launch externally. |
abstract String |
getJScript(String mode)
Gets the JavaScript to run when the event described by the mode is triggered. |
abstract String |
getJScriptId(String mode)
Gets the ID of the JavaScript code returned in getJScript(java.lang.String). |
abstract String |
getLaunchURL(String nodeName)
Gets the launch URL. |
abstract String |
getMergeID()
Gets the node's merge ID. |
abstract double |
getPriority()
Gets the priority of the node for sorting. |
abstract String |
getPRTEvent(String mode)
Gets the PRT event that corresponds with the mode. |
abstract int |
getShowType()
Indicates whether the node is to be launched in an external window ( SHOW_EXTERNAL) or in the portal framework page
(SHOW_INPLACE). |
abstract String |
getTitle(Locale locale)
Gets the title of the node to be displayed in the navigation user interface according to the specified locale. |
abstract int |
getVisualizationType()
Gets the visualization type for the node. |
abstract String |
getWindowName()
Gets the window name in which the node is launched, if launched externally. |
abstract boolean |
isLaunchable()
Indicates whether the node can be launched. |
abstract boolean |
isMergible()
Indicates whether the node can be merged. |
abstract NamingEnumeration |
listBindings(String name,
String mode)
Deprecated. use listBindings(String name,String mode,Hashtable filterParameters) |
NamingEnumeration |
listBindings(String name,
String mode,
Hashtable filterParameters)
Enumerates the names bound in the named context specified by the user information and a navigation target list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAVIGATION_GET_CHILDREN
navigation.getChildren
public static final String NAVIGATION_GET_FIRST_CHILD
navigation.getFirstChild
public static final String NAVIGATION_GET_RELATED_SEE_ALSO
navigation.getRelatedSeeAlso
public static final String NAVIGATION_GET_RELATED_DR_TARGETS
navigation.getRelatedDRTargets
public static final String NAVIGATION_GET_RELATED_NAV_ENTITIES
navigation.getRelatedNavEntities
public static final String NAVIGATION_INVISIBLE_ATTR
navigation.attributes.invisible
public static final String NAVIGATION_DEFAULT_FOLDER_PAGE_ATTR
com.sapportals.portal.navigation.FolderEntry
public boolean USE_OLD_INTERFACE
false
| Constructor Detail |
|---|
public AbstractNavigationConnectorNode()
| Method Detail |
|---|
public abstract NamingEnumeration listBindings(String name,
String mode)
throws NamingException
listBindings in interface INavigationConnectorNodename - the name of the contextmode - the type of node to return
NamingException
public NamingEnumeration listBindings(String name,
String mode,
Hashtable filterParameters)
throws NamingException
name - the name of the contextmode - the type of node to returnfilterParameters - user information and a navigation target list,
where the key is NavigationPrincipal (IUser)
and NavigationTarget (String)
NamingException
public abstract Object getAttributeValue(String attributeName)
throws NoSuchAttributeException
getAttributeValue in interface INavigationConnectorNodeattributeName - the attribute name
NoSuchAttributeException - if the attribute does not exist
public abstract Object getAttributeValue(String attributeName,
Locale locale)
throws NoSuchAttributeException
getAttributeValue in interface INavigationConnectorNodeattributeName - an attribute namelocale - a locale
NoSuchAttributeException - if the attribute does not existpublic abstract boolean isLaunchable()
isLaunchable in interface INavigationConnectorNodetrue if the node can be launched,
false if the node cannot be launchedpublic abstract String getTitle(Locale locale)
getTitle in interface INavigationConnectorNodelocale - a locale
public abstract String getDescription(Locale locale)
getDescription in interface INavigationConnectorNodelocale - a locale
public abstract String getLaunchURL(String nodeName)
getLaunchURL in interface INavigationConnectorNodenodeName - the full name of the node
public abstract double getPriority()
getPriority in interface INavigationConnectorNodepublic abstract int getVisualizationType()
INavigationConstants interface.
getVisualizationType in interface INavigationConnectorNodepublic abstract int getDragRelate()
getDragRelate in interface INavigationConnectorNodepublic abstract boolean isMergible()
isMergible in interface INavigationConnectorNodetrue if the node can be merged,
false if it cannot be merged
public abstract String getMergeID()
throws UnsupportedOperationException
getMergeID in interface INavigationConnectorNodeUnsupportedOperationException - if the node does not support merging
public abstract String getJScript(String mode)
throws UnsupportedOperationException
ON_DROP_EVENT_HANDLER is supported.
getJScript in interface INavigationConnectorNodemode - the event this Java script handles
UnsupportedOperationException
public abstract String getJScriptId(String mode)
throws UnsupportedOperationException
getJScript(java.lang.String).
getJScriptId in interface INavigationConnectorNodeUnsupportedOperationException
public abstract String getPRTEvent(String mode)
throws UnsupportedOperationException
getJScript(java.lang.String) with the
same mode. This method is only
used the ON_DROP_EVENT_HANDLER mode.getJScript.
getPRTEvent in interface INavigationConnectorNodemode - the type of node to return
UnsupportedOperationException - if the connector is not related
to the PRT eventpublic abstract int getShowType()
SHOW_EXTERNAL) or in the portal framework page
(SHOW_INPLACE).
getShowType in interface INavigationConnectorNode
public abstract String getWindowName()
throws UnsupportedOperationException
getWindowName in interface INavigationConnectorNodeUnsupportedOperationException - if the window name is not
supported or the node is defined
to launch in a portal framework
page
public abstract int getExtWindowHeight()
throws UnsupportedOperationException
getExtWindowHeight in interface INavigationConnectorNodeUnsupportedOperationException - if height is not supported
or the node is defined to
launch in a portal framework page
public abstract int getExtWindowWidth()
throws UnsupportedOperationException
getExtWindowWidth in interface INavigationConnectorNodeUnsupportedOperationException - if width is not supported
or the node is defined to
launch in a portal framework pagepublic NamingEnumeration getCollection(String collectionName)
collectionName -
INavigationConnectorNode, whose children are the nodes in the collectionpublic NamingEnumeration getAllCollections()
INavigationConnectorNode objects, each of which is a visible collectionpublic NamingEnumeration getExternalIview(String externalIviewName)
externalIviewName - name of the external iView node
INavigationConnectorNode, which is the external iView nodepublic NamingEnumeration getAllExternalIviews()
INavigationConnectorNode objects, each of which is an external iView nodepublic boolean forCahceOnly()
| 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 | |||||||||