public class KettleDatabaseRepositoryDirectoryDelegate extends KettleDatabaseRepositoryBaseDelegate
| Constructor and Description | 
|---|
KettleDatabaseRepositoryDirectoryDelegate(KettleDatabaseRepository repository)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.pentaho.di.repository.RepositoryDirectoryInterface | 
createRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface parentDirectory,
                         String directoryPath)
Create a new directory, possibly by creating several sub-directies of / at the same time. 
 | 
void | 
deleteDirectory(org.pentaho.di.repository.ObjectId id_directory)  | 
void | 
deleteDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir)  | 
void | 
delRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir,
                      boolean deleteNonEmptyFolder)  | 
org.pentaho.di.core.RowMetaAndData | 
getDirectory(org.pentaho.di.repository.ObjectId id_directory)  | 
int | 
getNrSubDirectories(org.pentaho.di.repository.ObjectId id_directory)  | 
org.pentaho.di.repository.ObjectId[] | 
getSubDirectoryIDs(org.pentaho.di.repository.ObjectId id_directory)  | 
org.pentaho.di.repository.RepositoryDirectoryInterface | 
loadPathToRoot(org.pentaho.di.repository.ObjectId id_directory)  | 
void | 
loadRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectory repositoryDirectory,
                       org.pentaho.di.repository.ObjectId id_directory)  | 
org.pentaho.di.repository.RepositoryDirectoryInterface | 
loadRepositoryDirectoryTree(org.pentaho.di.repository.RepositoryDirectoryInterface root)  | 
void | 
renameDirectory(org.pentaho.di.repository.ObjectId id_directory,
               org.pentaho.di.repository.ObjectId id_directory_parent,
               String newName)
Move / rename a directory in the repository 
 | 
org.pentaho.di.repository.ObjectId | 
renameRepositoryDirectory(org.pentaho.di.repository.ObjectId id,
                         org.pentaho.di.repository.RepositoryDirectoryInterface newParentDir,
                         String newName)  | 
org.pentaho.di.repository.ObjectId | 
renameRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectory dir)
Deprecated.  
 | 
void | 
saveRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir)  | 
quote, quoteTablepublic KettleDatabaseRepositoryDirectoryDelegate(KettleDatabaseRepository repository)
public org.pentaho.di.core.RowMetaAndData getDirectory(org.pentaho.di.repository.ObjectId id_directory)
                                                throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.RepositoryDirectoryInterface loadPathToRoot(org.pentaho.di.repository.ObjectId id_directory)
                                                                      throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.RepositoryDirectoryInterface loadRepositoryDirectoryTree(org.pentaho.di.repository.RepositoryDirectoryInterface root)
                                                                                   throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void loadRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectory repositoryDirectory,
                           org.pentaho.di.repository.ObjectId id_directory)
                             throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void deleteDirectory(org.pentaho.di.repository.ObjectId id_directory)
                     throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void deleteDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir)
                     throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void renameDirectory(org.pentaho.di.repository.ObjectId id_directory,
                   org.pentaho.di.repository.ObjectId id_directory_parent,
                   String newName)
                     throws org.pentaho.di.core.exception.KettleException
id_directory - Id of the directory to be moved/renamedid_directory_parent - Id of the new parent directory (null if the parent does not change)newName - New name for this directory (null if the name does not change)org.pentaho.di.core.exception.KettleExceptionpublic int getNrSubDirectories(org.pentaho.di.repository.ObjectId id_directory)
                        throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId[] getSubDirectoryIDs(org.pentaho.di.repository.ObjectId id_directory)
                                                        throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void saveRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir)
                             throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void delRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir,
                          boolean deleteNonEmptyFolder)
                            throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException@Deprecated public org.pentaho.di.repository.ObjectId renameRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectory dir) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId renameRepositoryDirectory(org.pentaho.di.repository.ObjectId id,
                                                           org.pentaho.di.repository.RepositoryDirectoryInterface newParentDir,
                                                           String newName)
                                                             throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.RepositoryDirectoryInterface createRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface parentDirectory,
                                                                               String directoryPath)
                                                                                 throws org.pentaho.di.core.exception.KettleException
parentDirectory - the parent directorydirectoryPath - The path to the new Repository Directory, to be created.org.pentaho.di.core.exception.KettleException - In case something goes wrong