public class KettleDatabaseRepositoryDirectoryDelegate extends KettleDatabaseRepositoryBaseDelegate
log, repository
Constructor and Description |
---|
KettleDatabaseRepositoryDirectoryDelegate(KettleDatabaseRepository repository) |
quote, quoteTable
public KettleDatabaseRepositoryDirectoryDelegate(KettleDatabaseRepository repository)
public RowMetaAndData getDirectory(ObjectId id_directory) throws KettleException
KettleException
public RepositoryDirectoryInterface loadPathToRoot(ObjectId id_directory) throws KettleException
KettleException
public RepositoryDirectoryInterface loadRepositoryDirectoryTree(RepositoryDirectoryInterface root) throws KettleException
KettleException
public void loadRepositoryDirectory(RepositoryDirectory repositoryDirectory, ObjectId id_directory) throws KettleException
KettleException
public void deleteDirectory(ObjectId id_directory) throws KettleException
KettleException
public void deleteDirectory(RepositoryDirectoryInterface dir) throws KettleException
KettleException
public 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)KettleException
public int getNrSubDirectories(ObjectId id_directory) throws KettleException
KettleException
public ObjectId[] getSubDirectoryIDs(ObjectId id_directory) throws KettleException
KettleException
public void saveRepositoryDirectory(RepositoryDirectoryInterface dir) throws KettleException
KettleException
public void delRepositoryDirectory(RepositoryDirectoryInterface dir, boolean deleteNonEmptyFolder) throws KettleException
KettleException
@Deprecated public ObjectId renameRepositoryDirectory(RepositoryDirectory dir) throws KettleException
dir
- KettleException
public ObjectId renameRepositoryDirectory(ObjectId id, RepositoryDirectoryInterface newParentDir, String newName) throws KettleException
KettleException
public 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.