public interface IRepositoryFileDao
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.RepositoryFile getFileByAbsolutePath(String absPath)
RepositoryFile getFile(String relPath)
@Deprecated RepositoryFileTree getTree(String relPath, int depth, String filter, boolean showHidden)
RepositoryFileTree getTree(RepositoryRequest repositoryRequest)
RepositoryFile getFile(String relPath, boolean loadLocaleMaps)
RepositoryFile getFileById(Serializable fileId)
RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps)
RepositoryFile getFile(String relPath, IPentahoLocale locale)
RepositoryFile getFileById(Serializable fileId, IPentahoLocale locale)
RepositoryFile getFile(String relPath, boolean loadLocaleMaps, IPentahoLocale locale)
RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps, IPentahoLocale locale)
<T extends IRepositoryFileData> T getData(Serializable fileId, Serializable versionId, Class<T> dataClass)
RepositoryFile createFile(Serializable parentFolderId, RepositoryFile file, IRepositoryFileData data, RepositoryFileAcl acl, String versionMessage)
RepositoryFile createFolder(Serializable parentFolderId, RepositoryFile file, RepositoryFileAcl acl, String versionMessage)
RepositoryFile updateFolder(RepositoryFile file, String versionMessage)
@Deprecated List<RepositoryFile> getChildren(Serializable folderId, String filter, Boolean showHiddenFiles)
List<RepositoryFile> getChildren(RepositoryRequest repositoryRequest)
RepositoryFile updateFile(RepositoryFile file, IRepositoryFileData data, String versionMessage)
void deleteFile(Serializable fileId, String versionMessage)
void deleteFileAtVersion(Serializable fileId, Serializable versionId)
void undeleteFile(Serializable fileId, String versionMessage)
void permanentlyDeleteFile(Serializable fileId, String versionMessage)
List<RepositoryFile> getDeletedFiles(String origParentFolderPath, String filter)
List<RepositoryFile> getDeletedFiles()
boolean canUnlockFile(Serializable fileId)
void lockFile(Serializable fileId, String message)
void unlockFile(Serializable fileId)
List<VersionSummary> getVersionSummaries(Serializable fileId)
VersionSummary getVersionSummary(Serializable fileId, Serializable versionId)
RepositoryFile getFile(Serializable fileId, Serializable versionId)
void moveFile(Serializable fileId, String destRelPath, String versionMessage)
void copyFile(Serializable fileId, String destAbsPath, String versionMessage)
void restoreFileAtVersion(Serializable fileId, Serializable versionId, String versionMessage)
List<RepositoryFile> getReferrers(Serializable fileId)
void setFileMetadata(Serializable fileId, Map<String,Serializable> metadataMap)
Map<String,Serializable> getFileMetadata(Serializable fileId)
List<Locale> getAvailableLocalesForFileById(Serializable fileId)
List<Locale> getAvailableLocalesForFile(RepositoryFile repositoryFile)
Properties getLocalePropertiesForFileById(Serializable fileId, String locale)
Properties getLocalePropertiesForFileByPath(String relPath, String locale)
Properties getLocalePropertiesForFile(RepositoryFile repositoryFile, String locale)
void setLocalePropertiesForFileById(Serializable fileId, String locale, Properties properties)
void setLocalePropertiesForFileByPath(String relPath, String locale, Properties properties)
void setLocalePropertiesForFile(RepositoryFile repositoryFile, String locale, Properties properties)
void deleteLocalePropertiesForFile(RepositoryFile repositoryFile, String locale)
Copyright © 2017 Hitachi Vantara. All rights reserved.