org.netbeans.modules.jellytools.ide/3 3.14.0

org.netbeans.jellytools.modules.db.nodes
Class ConnectionNode

java.lang.Object
  extended by org.netbeans.jellytools.nodes.Node
      extended by org.netbeans.jellytools.modules.db.nodes.ConnectionNode

public class ConnectionNode
extends Node

Node representing "Databases > ${connection}" node in Services tab.

Usage:

      ConnectionNode conn = DriversNode.invoke("jdbc:derby:/mydb", "tester", "APP");
      conn.connect();
      conn.executeCommand();
      ....
      conn.disconnect();
 


Field Summary
 
Fields inherited from class org.netbeans.jellytools.nodes.Node
stringPath, treeOperator, treePath
 
Constructor Summary
ConnectionNode(String url, String user, String schema)
          creates new ConnectionNode
 
Method Summary
 void connect()
          performs ConnectAction with this node
 void delete()
          performs DeleteAction with this node
 void disconnect()
          performs DisconnectAction with this node
 void executeCommand()
          performs ExecuteCommandAction with this node
static ConnectionNode invoke(String url, String user, String schema)
          Finds "Databases > ${connection}" node
 void properties()
          performs PropertiesAction with this node
 
Methods inherited from class org.netbeans.jellytools.nodes.Node
addSelectionPath, callPopup, collapse, expand, getChildren, getComparator, getOpenideNode, getParentPath, getPath, getText, getTreePath, isChildPresent, isCollapsed, isExpanded, isLeaf, isLink, isPresent, performAPIAction, performAPIActionNoBlock, performMenuAction, performMenuActionNoBlock, performPopupAction, performPopupActionNoBlock, select, setComparator, tree, verifyPopup, verifyPopup, verifyPopup, waitChildNotPresent, waitCollapsed, waitExpanded, waitNotPresent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionNode

public ConnectionNode(String url,
                      String user,
                      String schema)
creates new ConnectionNode

Parameters:
url - database URL
user - user name
schema - schema name
Method Detail

invoke

public static ConnectionNode invoke(String url,
                                    String user,
                                    String schema)
Finds "Databases > ${connection}" node

Parameters:
url - database URL
user - user name
schema - schema name

connect

public void connect()
performs ConnectAction with this node


disconnect

public void disconnect()
performs DisconnectAction with this node


executeCommand

public void executeCommand()
performs ExecuteCommandAction with this node


delete

public void delete()
performs DeleteAction with this node


properties

public void properties()
performs PropertiesAction with this node


org.netbeans.modules.jellytools.ide/3 3.14.0

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.