Class SpoonDBDelegate

java.lang.Object
org.pentaho.di.ui.spoon.delegates.SpoonDelegate
org.pentaho.di.ui.spoon.delegates.SpoonSharedObjectDelegate<org.pentaho.di.core.database.DatabaseMeta>
org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate

public class SpoonDBDelegate extends SpoonSharedObjectDelegate<org.pentaho.di.core.database.DatabaseMeta>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.pentaho.di.ui.spoon.delegates.SpoonSharedObjectDelegate

    SpoonSharedObjectDelegate.ShowEditDialog<T>
  • Field Summary

    Fields inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate

    log, loggingObject, spoon
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearDBCache(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
     
    void
    clipConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
     
    boolean
    copyTable(org.pentaho.di.core.database.DatabaseMeta sourceDBInfo, org.pentaho.di.core.database.DatabaseMeta targetDBInfo, String tablename)
     
    void
    copyToGlobal(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager)
     
    void
    copyToProject(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager)
     
    void
     
    void
    delConnection(org.pentaho.di.shared.DatabaseManagementInterface dbMgr, org.pentaho.di.core.database.DatabaseMeta db)
    Delete the database connection
    void
    dupeConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager)
     
    void
    editConnection(org.pentaho.di.shared.DatabaseManagementInterface dbManager, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
     
    exploreDB(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager, boolean aLook)
    return a schema, table combination from the explorer
    void
    getJobSQL(org.pentaho.di.job.JobMeta jobMeta)
    Get invalid input: '&' show the SQL required to run the loaded job entry...
    void
     
    void
    getTransSQL(org.pentaho.di.trans.TransMeta transMeta)
    Get invalid input: '&' show the SQL required to run the loaded transformation...
    void
    moveToGlobal(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager)
     
    void
    moveToProject(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager)
     
    void
     
    protected void
     
    void
    sqlConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
     

    Methods inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate

    getMaxTabLength

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpoonDBDelegate

      public SpoonDBDelegate(Spoon spoon)
  • Method Details

    • sqlConnection

      public void sqlConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
    • editConnection

      public void editConnection(org.pentaho.di.shared.DatabaseManagementInterface dbManager, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
    • dupeConnection

      public void dupeConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager)
    • clipConnection

      public void clipConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
    • delConnection

      public void delConnection(org.pentaho.di.shared.DatabaseManagementInterface dbMgr, org.pentaho.di.core.database.DatabaseMeta db)
      Delete the database connection
      Parameters:
      dbMgr -
      db -
    • exploreDB

      public String[] exploreDB(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager, boolean aLook)
      return a schema, table combination from the explorer
      Parameters:
      databaseMeta -
      aLook -
      Returns:
      schema [0] and table [1]
    • clearDBCache

      public void clearDBCache(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
    • moveToGlobal

      public void moveToGlobal(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • moveToProject

      public void moveToProject(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • copyToGlobal

      public void copyToGlobal(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • copyToProject

      public void copyToProject(org.pentaho.di.core.database.DatabaseMeta databaseMeta, org.pentaho.di.shared.DatabaseManagementInterface dbManager) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • getSQL

      public void getSQL()
    • getTransSQL

      public void getTransSQL(org.pentaho.di.trans.TransMeta transMeta)
      Get invalid input: '&' show the SQL required to run the loaded transformation...
    • getJobSQL

      public void getJobSQL(org.pentaho.di.job.JobMeta jobMeta)
      Get invalid input: '&' show the SQL required to run the loaded job entry...
    • copyTable

      public boolean copyTable(org.pentaho.di.core.database.DatabaseMeta sourceDBInfo, org.pentaho.di.core.database.DatabaseMeta targetDBInfo, String tablename)
    • newConnection

      public void newConnection()
    • createDatabaseWizard

      public void createDatabaseWizard()
    • refreshTree

      protected void refreshTree()
      Specified by:
      refreshTree in class SpoonSharedObjectDelegate<org.pentaho.di.core.database.DatabaseMeta>