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.Modifier and Type | Method and Description |
---|---|
boolean |
canUnlockFile(Serializable fileId) |
void |
copyFile(Serializable fileId,
String destAbsPath,
String versionMessage) |
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) |
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) |
void |
deleteFile(Serializable fileId,
String versionMessage) |
void |
deleteFileAtVersion(Serializable fileId,
Serializable versionId) |
void |
deleteLocalePropertiesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile,
String locale) |
default List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
getAllDeletedFiles() |
List<Locale> |
getAvailableLocalesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile) |
List<Locale> |
getAvailableLocalesForFileById(Serializable fileId) |
List<Locale> |
getAvailableLocalesForFileByPath(String relPath) |
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
getChildren(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest) |
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
getChildren(Serializable folderId,
String filter,
Boolean showHiddenFiles)
Deprecated.
|
<T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData> |
getData(Serializable fileId,
Serializable versionId,
Class<T> dataClass) |
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
getDeletedFiles() |
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
getDeletedFiles(String origParentFolderPath,
String filter) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFile(Serializable fileId,
Serializable versionId) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFile(String relPath) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFile(String relPath,
boolean loadLocaleMaps) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFile(String relPath,
boolean loadLocaleMaps,
org.pentaho.platform.api.locale.IPentahoLocale locale) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFile(String relPath,
org.pentaho.platform.api.locale.IPentahoLocale locale) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFileByAbsolutePath(String absPath) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFileById(Serializable fileId) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFileById(Serializable fileId,
boolean loadLocaleMaps) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFileById(Serializable fileId,
boolean loadLocaleMaps,
org.pentaho.platform.api.locale.IPentahoLocale locale) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFileById(Serializable fileId,
org.pentaho.platform.api.locale.IPentahoLocale locale) |
Map<String,Serializable> |
getFileMetadata(Serializable fileId) |
Properties |
getLocalePropertiesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile,
String locale) |
Properties |
getLocalePropertiesForFileById(Serializable fileId,
String locale) |
Properties |
getLocalePropertiesForFileByPath(String relPath,
String locale) |
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
getReferrers(Serializable fileId) |
List<Character> |
getReservedChars() |
org.pentaho.platform.api.repository2.unified.RepositoryFileTree |
getTree(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest) |
org.pentaho.platform.api.repository2.unified.RepositoryFileTree |
getTree(String relPath,
int depth,
String filter,
boolean showHidden)
Deprecated.
|
List<org.pentaho.platform.api.repository2.unified.VersionSummary> |
getVersionSummaries(Serializable fileId) |
org.pentaho.platform.api.repository2.unified.VersionSummary |
getVersionSummary(Serializable fileId,
Serializable versionId) |
void |
lockFile(Serializable fileId,
String message) |
void |
moveFile(Serializable fileId,
String destRelPath,
String versionMessage) |
void |
permanentlyDeleteFile(Serializable fileId,
String versionMessage) |
void |
restoreFileAtVersion(Serializable fileId,
Serializable versionId,
String versionMessage) |
void |
setFileMetadata(Serializable fileId,
Map<String,Serializable> metadataMap) |
void |
setLocalePropertiesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile,
String locale,
Properties properties) |
void |
setLocalePropertiesForFileById(Serializable fileId,
String locale,
Properties properties) |
void |
setLocalePropertiesForFileByPath(String relPath,
String locale,
Properties properties) |
void |
undeleteFile(Serializable fileId,
String versionMessage) |
void |
unlockFile(Serializable fileId) |
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) |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
updateFolder(org.pentaho.platform.api.repository2.unified.RepositoryFile file,
String versionMessage) |
org.pentaho.platform.api.repository2.unified.RepositoryFile getFileByAbsolutePath(String absPath)
org.pentaho.platform.api.repository2.unified.RepositoryFile getFile(String relPath)
@Deprecated org.pentaho.platform.api.repository2.unified.RepositoryFileTree getTree(String relPath, int depth, String filter, boolean showHidden)
org.pentaho.platform.api.repository2.unified.RepositoryFileTree getTree(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest)
org.pentaho.platform.api.repository2.unified.RepositoryFile getFile(String relPath, boolean loadLocaleMaps)
org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById(Serializable fileId)
org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps)
org.pentaho.platform.api.repository2.unified.RepositoryFile getFile(String relPath, org.pentaho.platform.api.locale.IPentahoLocale locale)
org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById(Serializable fileId, org.pentaho.platform.api.locale.IPentahoLocale locale)
org.pentaho.platform.api.repository2.unified.RepositoryFile getFile(String relPath, boolean loadLocaleMaps, org.pentaho.platform.api.locale.IPentahoLocale locale)
org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps, org.pentaho.platform.api.locale.IPentahoLocale locale)
<T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData> T getData(Serializable fileId, Serializable versionId, Class<T> dataClass)
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)
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)
org.pentaho.platform.api.repository2.unified.RepositoryFile updateFolder(org.pentaho.platform.api.repository2.unified.RepositoryFile file, String versionMessage)
@Deprecated List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getChildren(Serializable folderId, String filter, Boolean showHiddenFiles)
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getChildren(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest)
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)
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<org.pentaho.platform.api.repository2.unified.RepositoryFile> getDeletedFiles(String origParentFolderPath, String filter)
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getDeletedFiles()
default List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getAllDeletedFiles()
boolean canUnlockFile(Serializable fileId)
void lockFile(Serializable fileId, String message)
void unlockFile(Serializable fileId)
List<org.pentaho.platform.api.repository2.unified.VersionSummary> getVersionSummaries(Serializable fileId)
org.pentaho.platform.api.repository2.unified.VersionSummary getVersionSummary(Serializable fileId, Serializable versionId)
org.pentaho.platform.api.repository2.unified.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<org.pentaho.platform.api.repository2.unified.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(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile)
Properties getLocalePropertiesForFileById(Serializable fileId, String locale)
Properties getLocalePropertiesForFileByPath(String relPath, String locale)
Properties getLocalePropertiesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, String locale)
void setLocalePropertiesForFileById(Serializable fileId, String locale, Properties properties)
void setLocalePropertiesForFileByPath(String relPath, String locale, Properties properties)
void setLocalePropertiesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, String locale, Properties properties)
void deleteLocalePropertiesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, String locale)
Copyright © 2018 Hitachi Vantara. All rights reserved.