net.sourceforge.squirrel_sql.plugins.oracle.expander
Class OracleTableParentExpander

java.lang.Object
  extended by net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.TableTypeExpander
      extended by net.sourceforge.squirrel_sql.plugins.oracle.expander.OracleTableParentExpander
All Implemented Interfaces:
INodeExpander

public class OracleTableParentExpander
extends TableTypeExpander

This class is an expander for Oracle table nodes which could potentially include flashback recycle bin tables. This will exclude those tables if the plugin is so configured.

Author:
manningr

Constructor Summary
OracleTableParentExpander(OraclePreferenceBean prefs)
          Default ctor.
 
Method Summary
 List<ObjectTreeNode> createChildren(ISession session, ObjectTreeNode parentNode)
          Create the child nodes for the passed parent node and return them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleTableParentExpander

public OracleTableParentExpander(OraclePreferenceBean prefs)
Default ctor.

Method Detail

createChildren

public List<ObjectTreeNode> createChildren(ISession session,
                                           ObjectTreeNode parentNode)
                                    throws SQLException
Create the child nodes for the passed parent node and return them. Note that this method should not actually add the child nodes to the parent node as this is taken care of in the caller.

Specified by:
createChildren in interface INodeExpander
Overrides:
createChildren in class TableTypeExpander
Parameters:
session - Current session.
node - Node to be expanded.
Returns:
A list of ObjectTreeNode objects representing the child nodes for the passed node.
Throws:
SQLException


Copyright © 2001-2010. All Rights Reserved.