public class KettleDatabaseRepositoryDirectoryDelegate extends KettleDatabaseRepositoryBaseDelegate
log, repository| Constructor and Description |
|---|
KettleDatabaseRepositoryDirectoryDelegate(KettleDatabaseRepository repository) |
quote, quoteTablepublic KettleDatabaseRepositoryDirectoryDelegate(KettleDatabaseRepository repository)
public RowMetaAndData getDirectory(ObjectId id_directory) throws KettleException
KettleExceptionpublic RepositoryDirectoryInterface loadPathToRoot(ObjectId id_directory) throws KettleException
KettleExceptionpublic RepositoryDirectoryInterface loadRepositoryDirectoryTree(RepositoryDirectoryInterface root) throws KettleException
KettleExceptionpublic void loadRepositoryDirectory(RepositoryDirectory repositoryDirectory, ObjectId id_directory) throws KettleException
KettleExceptionpublic void deleteDirectory(ObjectId id_directory) throws KettleException
KettleExceptionpublic void deleteDirectory(RepositoryDirectoryInterface dir) throws KettleException
KettleExceptionpublic void renameDirectory(ObjectId id_directory, ObjectId id_directory_parent, String newName) throws 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)KettleExceptionpublic int getNrSubDirectories(ObjectId id_directory) throws KettleException
KettleExceptionpublic ObjectId[] getSubDirectoryIDs(ObjectId id_directory) throws KettleException
KettleExceptionpublic void saveRepositoryDirectory(RepositoryDirectoryInterface dir) throws KettleException
KettleExceptionpublic void delRepositoryDirectory(RepositoryDirectoryInterface dir, boolean deleteNonEmptyFolder) throws KettleException
KettleException@Deprecated public ObjectId renameRepositoryDirectory(RepositoryDirectory dir) throws KettleException
dir - KettleExceptionpublic ObjectId renameRepositoryDirectory(ObjectId id, RepositoryDirectoryInterface newParentDir, String newName) throws KettleException
KettleExceptionpublic RepositoryDirectoryInterface createRepositoryDirectory(RepositoryDirectoryInterface parentDirectory, String directoryPath) throws KettleException
parentDirectory - the parent directorydirectoryPath - The path to the new Repository Directory, to be created.KettleException - In case something goes wrongCopyright © 2018 Hitachi Vantara. All rights reserved.