Interface RepositoryExtended

  • All Superinterfaces:
    Repository

    @Deprecated
    public interface RepositoryExtended
    extends Repository
    Deprecated.
    Additional methods to be added to Repository in next major revision.
    • Method Detail

      • loadRepositoryDirectoryTree

        @Deprecated
        org.pentaho.di.repository.RepositoryDirectoryInterface loadRepositoryDirectoryTree​(boolean eager)
                                                                                    throws org.pentaho.di.core.exception.KettleException
        Deprecated.
        more deprecated than the others Loads the RepositoryDirectoryTree either Eagerly or Lazilly based on the value passed. This value will override the default and any specified setting value for KETTLE_LAZY_REPOSITORY.
        Parameters:
        eager -
        Returns:
        Throws:
        org.pentaho.di.core.exception.KettleException
      • loadRepositoryDirectoryTree

        org.pentaho.di.repository.RepositoryDirectoryInterface loadRepositoryDirectoryTree​(String path,
                                                                                           String filter,
                                                                                           int depth,
                                                                                           boolean showHidden,
                                                                                           boolean includeEmptyFolder,
                                                                                           boolean includeAcls)
                                                                                    throws org.pentaho.di.core.exception.KettleException
        Deprecated.
        Loads the RepositoryDirectoryTree, filtering at the server.
        Parameters:
        path - - relative path to folder from which we should to download the tree. Implementation should use "/" as default path, because it is a root folder of repository
        filter - - filter may be a full name or a partial name with one or more wildcard characters ("*"), or a disjunction (using the "|" character to represent logical OR) of these; if null then it should be "*" and return all files and folders from root folder
        depth - - 0 fetches just file at path; positive integer n fetches node at path plus n levels of children; negative integer fetches all children. If n > 0 then only the top level children will be processed
        showHidden - - if true we will show hidden files
        includeEmptyFolder - include directories without any match
        includeAcls - include ACLs
        Throws:
        org.pentaho.di.core.exception.KettleException
      • renameRepositoryDirectory

        org.pentaho.di.repository.ObjectId renameRepositoryDirectory​(org.pentaho.di.repository.ObjectId dirId,
                                                                     org.pentaho.di.repository.RepositoryDirectoryInterface newParent,
                                                                     String newName,
                                                                     boolean renameHomeDirectories)
                                                              throws org.pentaho.di.core.exception.KettleException
        Deprecated.
        Move / rename a repository directory
        Parameters:
        dirId - The ObjectId of the repository directory to move
        newParent - The RepositoryDirectoryInterface that will be the new parent of the repository directory (May be null if a move is not desired)
        newName - The new name of the repository directory (May be null if a rename is not desired)
        renameHomeDirectories - true if this is an allowed action
        Returns:
        The ObjectId of the repository directory that was moved
        Throws:
        org.pentaho.di.core.exception.KettleException
      • deleteRepositoryDirectory

        void deleteRepositoryDirectory​(org.pentaho.di.repository.RepositoryDirectoryInterface dir,
                                       boolean deleteHomeDirectories)
                                throws org.pentaho.di.core.exception.KettleException
        Deprecated.
        Delete a repository directory
        Parameters:
        dir - The ObjectId of the repository directory to move
        deleteHomeDirectories - true if this is an allowed action
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getChildren

        List<org.pentaho.di.repository.RepositoryObjectInterface> getChildren​(String path,
                                                                              String filter)
        Deprecated.
      • getConnections

        List<org.pentaho.di.core.database.DatabaseMeta> getConnections​(boolean cached)
                                                                throws org.pentaho.di.core.exception.KettleException
        Deprecated.
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getSlaveServers

        List<SlaveServer> getSlaveServers​(boolean cached)
                                   throws org.pentaho.di.core.exception.KettleException
        Deprecated.
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getPartitions

        List<PartitionSchema> getPartitions​(boolean cached)
                                     throws org.pentaho.di.core.exception.KettleException
        Deprecated.
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getClusters

        List<ClusterSchema> getClusters​(boolean cached)
                                 throws org.pentaho.di.core.exception.KettleException
        Deprecated.
        Throws:
        org.pentaho.di.core.exception.KettleException