Interface IRepositoryFileDao

  • All Known Implementing Classes:
    FileSystemRepositoryFileDao, JcrRepositoryFileDao

    public interface IRepositoryFileDao
    A data access object for reading and writing RepositoryFile instances. The methods in this interface might closely resemble those in IUnifiedRepository but this interface is not part of the public Pentaho API and can evolve independently.
    Author:
    mlowery
    • Method Detail

      • getFileByAbsolutePath

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFileByAbsolutePath​(String absPath)
      • getFile

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFile​(String relPath)
      • getTree

        @Deprecated
        org.pentaho.platform.api.repository2.unified.RepositoryFileTree getTree​(String relPath,
                                                                                int depth,
                                                                                String filter,
                                                                                boolean showHidden)
        Deprecated.
      • getTree

        org.pentaho.platform.api.repository2.unified.RepositoryFileTree getTree​(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest)
      • getFile

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFile​(String relPath,
                                                                            boolean loadLocaleMaps)
      • getFileById

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById​(Serializable fileId)
      • getFileById

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById​(Serializable fileId,
                                                                                boolean loadLocaleMaps)
      • getFile

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFile​(String relPath,
                                                                            org.pentaho.platform.api.locale.IPentahoLocale locale)
      • getFileById

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById​(Serializable fileId,
                                                                                org.pentaho.platform.api.locale.IPentahoLocale locale)
      • getFile

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFile​(String relPath,
                                                                            boolean loadLocaleMaps,
                                                                            org.pentaho.platform.api.locale.IPentahoLocale locale)
      • getFileById

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById​(Serializable fileId,
                                                                                boolean loadLocaleMaps,
                                                                                org.pentaho.platform.api.locale.IPentahoLocale locale)
      • getData

        <T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData> T getData​(Serializable fileId,
                                                                                               Serializable versionId,
                                                                                               Class<T> dataClass)
      • createFile

        org.pentaho.platform.api.repository2.unified.RepositoryFile createFile​(Serializable parentFolderId,
                                                                               org.pentaho.platform.api.repository2.unified.RepositoryFile file,
                                                                               org.pentaho.platform.api.repository2.unified.IRepositoryFileData data,
                                                                               org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl,
                                                                               String versionMessage)
      • createFolder

        org.pentaho.platform.api.repository2.unified.RepositoryFile createFolder​(Serializable parentFolderId,
                                                                                 org.pentaho.platform.api.repository2.unified.RepositoryFile file,
                                                                                 org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl,
                                                                                 String versionMessage)
      • updateFolder

        org.pentaho.platform.api.repository2.unified.RepositoryFile updateFolder​(org.pentaho.platform.api.repository2.unified.RepositoryFile file,
                                                                                 String versionMessage)
      • getChildren

        List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getChildren​(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest)
      • updateFile

        org.pentaho.platform.api.repository2.unified.RepositoryFile updateFile​(org.pentaho.platform.api.repository2.unified.RepositoryFile file,
                                                                               org.pentaho.platform.api.repository2.unified.IRepositoryFileData data,
                                                                               String versionMessage)
      • permanentlyDeleteFile

        void permanentlyDeleteFile​(Serializable fileId,
                                   String versionMessage)
      • getDeletedFiles

        List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getDeletedFiles​(String origParentFolderPath,
                                                                                          String filter)
      • getDeletedFiles

        List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getDeletedFiles()
      • getAllDeletedFiles

        default List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getAllDeletedFiles()
      • canUnlockFile

        boolean canUnlockFile​(Serializable fileId)
      • getVersionSummaries

        List<org.pentaho.platform.api.repository2.unified.VersionSummary> getVersionSummaries​(Serializable fileId)
      • getVersionSummary

        org.pentaho.platform.api.repository2.unified.VersionSummary getVersionSummary​(Serializable fileId,
                                                                                      Serializable versionId)
      • getFile

        org.pentaho.platform.api.repository2.unified.RepositoryFile getFile​(Serializable fileId,
                                                                            Serializable versionId)
      • getReferrers

        List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getReferrers​(Serializable fileId)
      • getAvailableLocalesForFileByPath

        List<Locale> getAvailableLocalesForFileByPath​(String relPath)
      • getAvailableLocalesForFile

        List<Locale> getAvailableLocalesForFile​(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile)
      • getLocalePropertiesForFileByPath

        Properties getLocalePropertiesForFileByPath​(String relPath,
                                                    String locale)
      • getLocalePropertiesForFile

        Properties getLocalePropertiesForFile​(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile,
                                              String locale)
      • setLocalePropertiesForFileByPath

        void setLocalePropertiesForFileByPath​(String relPath,
                                              String locale,
                                              Properties properties)
      • setLocalePropertiesForFile

        void setLocalePropertiesForFile​(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile,
                                        String locale,
                                        Properties properties)
      • deleteLocalePropertiesForFile

        void deleteLocalePropertiesForFile​(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile,
                                           String locale)