org.pentaho.di.ui.repository.dialog
Class RepositoryExplorerDialog

java.lang.Object
  extended by Dialog
      extended by org.pentaho.di.ui.repository.dialog.RepositoryExplorerDialog

public class RepositoryExplorerDialog
extends Dialog

This dialog displays the content of the repository in a Windows explorer like fashion. The user can manipulate the objects in the repository as well as administer users, profiles, etc.

Since:
18-mei-2003
Author:
Matt

Nested Class Summary
static interface RepositoryExplorerDialog.RepositoryExplorerCallback
           
 class RepositoryExplorerDialog.RepositoryObjectReference
          capture a reference to an object in the repository
 
Field Summary
static String STRING_JOBS
           
static String STRING_TRANSFORMATIONS
           
 
Constructor Summary
RepositoryExplorerDialog(Shell par, int style, Repository rep, RepositoryExplorerDialog.RepositoryExplorerCallback callback, VariableSpace variableSpace)
           
 
Method Summary
 void close()
           
 void createDirectory(TreeItem ti, RepositoryDirectoryInterface repdir)
           
 void delCluster(String clusterName)
           
 void delDatabase(String databasename)
           
 void delDirectory(TreeItem ti, RepositoryDirectoryInterface repdir)
           
 void delPartitionSchema(String partitionSchemaName)
           
 boolean delSelectedObjects()
           
 void delSlaveServer(String slaveName)
           
 void delUser(String login)
           
 void doDoubleClick()
           
 void editCluster(String clusterName)
           
 void editDatabase(String databasename)
           
 void editPartitionSchema(String partitionSchemaName)
           
 void editSlaveServer(String slaveName)
           
 void editUser(String login)
           
 void exportAll(RepositoryDirectoryInterface dir)
           
 void exportJobs(RepositoryDirectoryInterface root)
           
 void exportTransformations(RepositoryDirectoryInterface root)
           
 RepositoryDirectoryInterface getDirectory(TreeItem ti)
           
static RepositoryRevisionBrowserDialogInterface getVersionBrowserDialog(Shell shell, Repository repository, RepositoryElementInterface element)
           
 void importAll()
           
 boolean moveJob(String xml, RepositoryDirectoryInterface repdir)
           
 boolean moveTransformation(String xml, RepositoryDirectoryInterface repdir)
           
 void newCluster()
           
 void newDatabase()
           
 void newPartitionSchema()
           
 void newSlaveServer()
           
 void newUser()
           
 RepositoryExplorerDialog.RepositoryObjectReference open()
           
 void openJob(String name, RepositoryDirectoryInterface repdir)
           
 void openTransformation(String name, RepositoryDirectoryInterface repdir)
           
 void refreshTree()
           
 boolean renameDatabase()
           
 boolean renameDatabase(String name, String newname)
           
 boolean renameDirectory(RepositoryDirectoryInterface repdir, String name, String newname)
           
 void renameDirectory(TreeItem treeitem, RepositoryDirectoryInterface rd)
           
 void renameInTree()
           
 boolean renameJob(String name, RepositoryDirectoryInterface repdir)
           
 boolean renameJob(String name, RepositoryDirectoryInterface repdir, String newname)
           
 boolean renameJob(String name, String newname, RepositoryDirectoryInterface repdir)
           
 void renameJob(TreeItem treeitem, String jobname, RepositoryDirectoryInterface repositorydir)
           
 boolean renameTransformation(String name, RepositoryDirectoryInterface repdir)
           
 boolean renameTransformation(String name, String newname, RepositoryDirectoryInterface repdir)
           
 boolean renameUser()
           
 boolean renameUser(String name, String newname)
           
 boolean restoreSelectedObjects()
           
 boolean sameCategory(TreeItem[] tisel)
           
 void setTreeMenu()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_TRANSFORMATIONS

public static final String STRING_TRANSFORMATIONS

STRING_JOBS

public static final String STRING_JOBS
Constructor Detail

RepositoryExplorerDialog

public RepositoryExplorerDialog(Shell par,
                                int style,
                                Repository rep,
                                RepositoryExplorerDialog.RepositoryExplorerCallback callback,
                                VariableSpace variableSpace)
Method Detail

open

public RepositoryExplorerDialog.RepositoryObjectReference open()

getDirectory

public RepositoryDirectoryInterface getDirectory(TreeItem ti)

sameCategory

public boolean sameCategory(TreeItem[] tisel)

doDoubleClick

public void doDoubleClick()

setTreeMenu

public void setTreeMenu()

renameInTree

public void renameInTree()

close

public void close()

refreshTree

public void refreshTree()

openTransformation

public void openTransformation(String name,
                               RepositoryDirectoryInterface repdir)

openJob

public void openJob(String name,
                    RepositoryDirectoryInterface repdir)

delSelectedObjects

public boolean delSelectedObjects()

restoreSelectedObjects

public boolean restoreSelectedObjects()

renameTransformation

public boolean renameTransformation(String name,
                                    RepositoryDirectoryInterface repdir)

renameTransformation

public boolean renameTransformation(String name,
                                    String newname,
                                    RepositoryDirectoryInterface repdir)

moveTransformation

public boolean moveTransformation(String xml,
                                  RepositoryDirectoryInterface repdir)

moveJob

public boolean moveJob(String xml,
                       RepositoryDirectoryInterface repdir)

renameJob

public boolean renameJob(String name,
                         RepositoryDirectoryInterface repdir)

renameJob

public boolean renameJob(String name,
                         String newname,
                         RepositoryDirectoryInterface repdir)

renameJob

public void renameJob(TreeItem treeitem,
                      String jobname,
                      RepositoryDirectoryInterface repositorydir)

renameJob

public boolean renameJob(String name,
                         RepositoryDirectoryInterface repdir,
                         String newname)

editUser

public void editUser(String login)

newUser

public void newUser()

delUser

public void delUser(String login)

renameUser

public boolean renameUser()

renameUser

public boolean renameUser(String name,
                          String newname)

editDatabase

public void editDatabase(String databasename)

newDatabase

public void newDatabase()

delDatabase

public void delDatabase(String databasename)

renameDatabase

public boolean renameDatabase()

renameDatabase

public boolean renameDatabase(String name,
                              String newname)

renameDirectory

public void renameDirectory(TreeItem treeitem,
                            RepositoryDirectoryInterface rd)

renameDirectory

public boolean renameDirectory(RepositoryDirectoryInterface repdir,
                               String name,
                               String newname)

createDirectory

public void createDirectory(TreeItem ti,
                            RepositoryDirectoryInterface repdir)

delDirectory

public void delDirectory(TreeItem ti,
                         RepositoryDirectoryInterface repdir)

exportTransformations

public void exportTransformations(RepositoryDirectoryInterface root)

exportJobs

public void exportJobs(RepositoryDirectoryInterface root)

exportAll

public void exportAll(RepositoryDirectoryInterface dir)

importAll

public void importAll()

newSlaveServer

public void newSlaveServer()

editSlaveServer

public void editSlaveServer(String slaveName)

delSlaveServer

public void delSlaveServer(String slaveName)

newPartitionSchema

public void newPartitionSchema()

editPartitionSchema

public void editPartitionSchema(String partitionSchemaName)

delPartitionSchema

public void delPartitionSchema(String partitionSchemaName)

newCluster

public void newCluster()

editCluster

public void editCluster(String clusterName)

delCluster

public void delCluster(String clusterName)

getVersionBrowserDialog

public static final RepositoryRevisionBrowserDialogInterface getVersionBrowserDialog(Shell shell,
                                                                                     Repository repository,
                                                                                     RepositoryElementInterface element)
                                                                              throws Exception
Throws:
Exception