public abstract class AbstractNavigationConnector extends Object implements INavigationConnectorExt
| Constructor and Description |
|---|
AbstractNavigationConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnector()
The method is called upon unregister connector, meant for closing any connector resources
before it is destroyed.
|
String |
getConnectorCacheDiscriminator(Hashtable environment)
Gets a key for the set of navigation nodes for the current user.
|
List |
getConnectorCacheDiscriminators(Hashtable environment)
This method should retrieve the cache discriminators splited in array and not as combination as
provided in the method getConnectorCacheDiscriminator.
|
NavigationConnectorProfile |
getConnectorProfile() |
abstract NamingEnumeration |
getInitialNodes(Hashtable environment)
Gets the initial nodes of the connector.
|
abstract INavigationConnectorNode |
getNode(Hashtable environment,
String connectorNodeName)
Gets a navigation node specified by a connector node name.
|
NamingEnumeration |
getNodeByQuickLink(Hashtable environment,
String quickLink)
Gets a node assigned to the specified quick link.
|
String |
getNodeDiscriminator(Hashtable environment,
String connectorNodeName)
This method should provide the disciriminator on which to save the connector node in cache.
|
abstract NamingEnumeration |
getNodes(Hashtable environment,
Vector connectorNodeNames)
Gets an enumeration of navigation nodes specified by a list of connector
node names.
|
boolean |
isCachable()
Indicates whether the node can be cached.
|
public String getConnectorCacheDiscriminator(Hashtable environment)
INavigationConnectorExtgetConnectorCacheDiscriminator in interface INavigationConnectorExtenvironment - the user contextpublic List getConnectorCacheDiscriminators(Hashtable environment)
environment - public String getNodeDiscriminator(Hashtable environment, String connectorNodeName)
environment - connectorNodeName - public NamingEnumeration getNodeByQuickLink(Hashtable environment, String quickLink)
INavigationConnectorExtgetNodeByQuickLink in interface INavigationConnectorExtenvironment - the user contextquickLink - a quick linkpublic boolean isCachable()
true if the node can be cached,
false if the node cannot be cachedpublic abstract NamingEnumeration getInitialNodes(Hashtable environment)
INavigationConnectorgetInitialNodes in interface INavigationConnectorenvironment - the user contextpublic abstract INavigationConnectorNode getNode(Hashtable environment, String connectorNodeName)
INavigationConnectorgetNode in interface INavigationConnectorenvironment - the user contextconnectorNodeName - the connector node namepublic abstract NamingEnumeration getNodes(Hashtable environment, Vector connectorNodeNames)
INavigationConnectorgetNodes in interface INavigationConnectorenvironment - the user contextconnectorNodeNames - a list of connector node namespublic NavigationConnectorProfile getConnectorProfile()
public void closeConnector()
| 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