com.sapportals.portal.navigation

Interface INavigationService

All Known Subinterfaces:
ICacheNavigationService

public interface INavigationService

 The main interface for the navigation model.  
 The APIs declared in this interface usually wrap the APIs declared in the INavigationConnector interface. 
 Thus, some of the APIs in this interface has exactly the same signature 
 as the ones in INavigationConnector, and the others expose a different signature 
 APIs for simplicity. 
 

See Also:
com.sapportals.portal.navigation.INavigationConnector

Field Summary
static String KEY
          The key for retrieving an instance of this service.
 
Method Summary
 INavigationNode getFirstNode(Hashtable environment)
          Retrieves the first Navigation Node in the tree in the highest level of hiererchy.
 NavigationNodes getInitialNodes(Hashtable environment)
          Retrieves all the initial nodes from the highest hierarchical level from all Navigation Connectors registered to the navigation service.
 INavigationNode getNode(Hashtable environment, String nodeName)
          Retrieves a Navigation Node by it's hierarcial name.
 INavigationNode getNodeByQuickLink(Hashtable environment, String quickLink)
           
 NavigationNodes getNodes(Hashtable environment, Vector connectorNodeNames, boolean isSingleNonnector)
          Retrieves a Navigation Nodes which their names are contained in the received vector.
 

Field Detail

KEY

public static final String KEY
The key for retrieving an instance of this service.

See Also:
Constant Field Values
Method Detail

getInitialNodes

public NavigationNodes getInitialNodes(Hashtable environment)
                                throws NamingException
Retrieves all the initial nodes from the highest hierarchical level from all Navigation Connectors registered to the navigation service.

Parameters:
environment - containing all environment params the initial nodes are requested for. must at least contain the username.
Returns:
a list of the initial nodes.
Throws:
NamingException

getNode

public INavigationNode getNode(Hashtable environment,
                               String nodeName)
Retrieves a Navigation Node by it's hierarcial name. The node's name represents a navigation node with the information concerning it's navigation connector.

Parameters:
nodeName - name of the requested node.
environment - containing all environment params the initial nodes are requested for. must at least contain the username.
Returns:
requested node or null if node wasn't found.

getFirstNode

public INavigationNode getFirstNode(Hashtable environment)
Retrieves the first Navigation Node in the tree in the highest level of hiererchy. If first node of highest level is not launch able, the first node in the second level is retrieved.

Parameters:
environment - containing all environment params the initial nodes are requested for. must at least contain the username.
Returns:
first node of highest level. If first node in highest level is not launch able, the first node in the second level is retrieved.

getNodes

public NavigationNodes getNodes(Hashtable environment,
                                Vector connectorNodeNames,
                                boolean isSingleNonnector)
Retrieves a Navigation Nodes which their names are contained in the received vector. The name contains information about the node location in the connector hierarchy.

Parameters:
environment - containing all environment params the initial nodes are requested for. must at least contain the username.
connectorNodeNames - list of the requested nodes names and objects.
isSingleNonnector - indicates whether all navigation nodes for retrieval are from single navigation connector. If this datum is unknown, a false value should be set.
Returns:
NamingEnumeration bindings of INavigationConnectorNode objects, if recieved nodes are not found, They are not returned.

getNodeByQuickLink

public INavigationNode getNodeByQuickLink(Hashtable environment,
                                          String quickLink)
Parameters:
quickLink -
Returns:


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.