public abstract class AbstractNavigationConnectorNode extends Object implements INavigationConnectorNode
listBindings method).| Modifier and Type | Field and Description |
|---|---|
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.
|
AFP, AFP_DEBUG_MODE, CACHE_DISCRIMINATOR_PARAM_NAME, CACHE_DURATION, CACHE_TTL, CNP_VIEW_TYPE, CONNECTOR_PREFIX, DEFAULT_AFTER_ALL, DEFAULT_BEFORE_ALL, DEFAULT_ENTRY_FOR_FOLDER, DESKTOP_FILTER_MODE, DESKTOP_TITLE_PARAM, DFLT, DISABLE_EVENT_NAVIGATION, DRAGANDRELATE_TARGET, DSM_NODE_NAME, DYNAMIC_TITLE_PARAM, ENV_PRINCIPAL, ENV_SAPPRIVATE_REQUESTPARAMS, EVENT_NAVIGATION, EXTERNAL_CONNECTOR_KEY, EXTERNAL_ITEM_SEPARATOR, EXTERNAL_NAME_END, EXTERNAL_NAME_PREFIX, EXTERNAL_NAME_START, FILTER_DESKTOP_ENABLED, FILTER_VIEW_EXCLUDED_ID_LIST, FILTER_VIEW_ID_LIST, FRWK_TYPE, HASHED_URL, HASHED_URL_PREFIX, HISTORY_MODE_PARAM, HISTORY_PARAM_NAME, ICON_URI, IGNORE_INITIAL_NODES_FILTER, IGNORE_NAVIGATION_CACHE_FLAG, IS_LEAF_ATTR, KEY_SEPERATOR, MERGE_PRIORITY, MERGED_ITEMS_SEPARATOR, MERGED_NAME_END, MERGED_NAME_START, NAV_MODE_PARAM, NAVIGATION_CONTEXT_ATTR, NAVIGATION_CONTEXT_PARAM, NAVIGATION_DOCKED_ATTR, NAVIGATION_EXTERNAL_CONNECTOR, NAVIGATION_GET_ALL_COLLECTIONS, NAVIGATION_GET_ALL_EXTERNAL_IVIEWS, NAVIGATION_GET_DEFAULT_NODE, NAVIGATION_HIERARCHY_METADATA_ATTR, NAVIGATION_HIERARCHY_METADATA_ATTR_CACHEABLE_VALUE, NAVIGATION_HIERARCHY_METADATA_ATTR_NON_CACHEABLE_VALUE, NAVIGATION_INVISIBLE_FALSE, NAVIGATION_INVISIBLE_TRUE, NAVIGATION_LEVELS_ATTRIBUTE, NAVIGATION_LOCK, NAVIGATION_MECHANISM, NAVIGATION_PARAMETERS, NAVIGATION_PRINCIPAL, NAVIGATION_QUICKLINK, NAVIGATION_TARGET_ATTR, NAVIGATION_TARGET_PARAM, NAVIGATION_VIEW_ATTRIBUTE, NAVIGATION_VIEW_ATTRIBUTE_SEPARATOR, ON_DROP_EVENT_HANDLER, OPTIONAL_PREFIX_SEPARATOR, PERSONALIZE_PORTAL_MERGE_ID, PICTOGRAM_ATTR, PREVIOUS_NAVIGATION_TARGET, QUICKLINK_PARAM, REDIRECT_PREFIX_SEPARATOR, REGULAR_TARGET, RELATIVE_BASENAV_PARAM_NAME, RELATIVE_LEVELSUP_PARAM_NAME, RELATIVE_PATHLIST_PARAM_NAME, SEPARATOR, SHOW_EMBEDDED_EXTERNAL_HEADERLESS, SHOW_EXTERNAL, SHOW_EXTERNAL_HEADERLESS, SHOW_EXTERNAL_PORTAL, SHOW_HIDDEN, SHOW_INPLACE, SHOW_INPLACE_UNCHANGED_FRAMEWORK, SHOW_STANDARDS_EXTERNAL_HEADERLESS, SHOW_VIEWPORT_EXTERNAL_HEADERLESS, SUPPORT_PERSONALIZE_INITIAL_NODES, SUPPORT_PERSONALIZE_INITIAL_NODES_ATTR, TABSET_ALL, TABSET_ID, TABSETS_ENABLED, TABSETS_MIN_SIZE, TYPE_ABSOLUTE_LINK, TYPE_COLLECTION, TYPE_ERROR, TYPE_EXTERNAL_IVIEW, TYPE_FOLDER, TYPE_IVIEW, TYPE_OBN_LINK, TYPE_OTHER, TYPE_PAGE, TYPE_RELATIVE_LINK, TYPE_WORKSET, URL_PREFIX_SEPARATOR, USED_CONNECTORS, USER_LOCALE, WINDOW_ID_PARAM| Constructor and Description |
|---|
AbstractNavigationConnectorNode() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final String NAVIGATION_GET_CHILDREN
navigation.getChildrenpublic static final String NAVIGATION_GET_FIRST_CHILD
navigation.getFirstChildpublic static final String NAVIGATION_GET_RELATED_SEE_ALSO
navigation.getRelatedSeeAlsopublic static final String NAVIGATION_GET_RELATED_DR_TARGETS
navigation.getRelatedDRTargetspublic static final String NAVIGATION_GET_RELATED_NAV_ENTITIES
navigation.getRelatedNavEntitiespublic static final String NAVIGATION_INVISIBLE_ATTR
navigation.attributes.invisiblepublic static final String NAVIGATION_DEFAULT_FOLDER_PAGE_ATTR
com.sapportals.portal.navigation.FolderEntrypublic boolean USE_OLD_INTERFACE
falsepublic abstract NamingEnumeration listBindings(String name, String mode) throws NamingException
listBindings in interface INavigationConnectorNodename - the name of the contextmode - the type of node to returnNamingExceptionpublic 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)NamingExceptionpublic abstract Object getAttributeValue(String attributeName) throws NoSuchAttributeException
getAttributeValue in interface INavigationConnectorNodeattributeName - the attribute nameNoSuchAttributeException - if the attribute does not existpublic abstract Object getAttributeValue(String attributeName, Locale locale) throws NoSuchAttributeException
getAttributeValue in interface INavigationConnectorNodeattributeName - an attribute namelocale - a localeNoSuchAttributeException - 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 localepublic abstract String getDescription(Locale locale)
getDescription in interface INavigationConnectorNodelocale - a localepublic abstract String getLaunchURL(String nodeName)
getLaunchURL in interface INavigationConnectorNodenodeName - the full name of the nodepublic 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 mergedpublic abstract String getMergeID() throws UnsupportedOperationException
getMergeID in interface INavigationConnectorNodeUnsupportedOperationException - if the node does not support mergingpublic abstract String getJScript(String mode) throws UnsupportedOperationException
ON_DROP_EVENT_HANDLER is supported.getJScript in interface INavigationConnectorNodemode - the event this Java script handlesUnsupportedOperationExceptionpublic abstract String getJScriptId(String mode) throws UnsupportedOperationException
getJScript(java.lang.String).getJScriptId in interface INavigationConnectorNodeUnsupportedOperationExceptionpublic 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 returnUnsupportedOperationException - 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 INavigationConnectorNodepublic 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
pagepublic 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 pagepublic 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 nodeINavigationConnectorNode, 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
|
Copyright 2021 SAP SE Complete Copyright Notice