Class ExceptionLoggingDecorator
- java.lang.Object
-
- org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator
-
- All Implemented Interfaces:
org.pentaho.platform.api.repository2.unified.IUnifiedRepository
public class ExceptionLoggingDecorator extends Object implements org.pentaho.platform.api.repository2.unified.IUnifiedRepository
Decorates anotherIUnifiedRepository
instance and logs exceptions if they occur. Also, a new non-chained exception is thrown. (The root cause will not leave this class.)- Author:
- mlowery
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ExceptionLoggingDecorator.ExceptionConverter
Converts an exception before throwing to callers.
-
Constructor Summary
Constructors Constructor Description ExceptionLoggingDecorator(org.pentaho.platform.api.repository2.unified.IUnifiedRepository delegatee, Map<String,ExceptionLoggingDecorator.ExceptionConverter> exceptionConverterMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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, 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, 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, boolean permanent, 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)
org.pentaho.platform.api.repository2.unified.RepositoryFileAcl
getAcl(Serializable fileId)
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(Serializable folderId)
Deprecated.List<org.pentaho.platform.api.repository2.unified.RepositoryFile>
getChildren(Serializable folderId, String filter)
Deprecated.List<org.pentaho.platform.api.repository2.unified.RepositoryFile>
getChildren(Serializable folderId, String filter, Boolean showHiddenFiles)
Deprecated.List<org.pentaho.platform.api.repository2.unified.RepositoryFile>
getChildren(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest)
<T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData>
TgetDataAtVersionForExecute(Serializable fileId, Serializable versionId, Class<T> dataClass)
<T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData>
TgetDataAtVersionForRead(Serializable fileId, Serializable versionId, Class<T> dataClass)
<T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData>
TgetDataForExecute(Serializable fileId, Class<T> dataClass)
<T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData>
List<T>getDataForExecuteInBatch(List<org.pentaho.platform.api.repository2.unified.RepositoryFile> files, Class<T> dataClass)
<T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData>
TgetDataForRead(Serializable fileId, Class<T> dataClass)
<T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData>
List<T>getDataForReadInBatch(List<org.pentaho.platform.api.repository2.unified.RepositoryFile> files, Class<T> dataClass)
List<org.pentaho.platform.api.repository2.unified.RepositoryFile>
getDeletedFiles()
List<org.pentaho.platform.api.repository2.unified.RepositoryFile>
getDeletedFiles(String origParentFolderPath)
List<org.pentaho.platform.api.repository2.unified.RepositoryFile>
getDeletedFiles(String origParentFolderPath, String filter)
List<org.pentaho.platform.api.repository2.unified.RepositoryFileAce>
getEffectiveAces(Serializable fileId)
List<org.pentaho.platform.api.repository2.unified.RepositoryFileAce>
getEffectiveAces(Serializable fileId, boolean forceEntriesInheriting)
org.pentaho.platform.api.repository2.unified.RepositoryFile
getFile(String path)
org.pentaho.platform.api.repository2.unified.RepositoryFile
getFile(String path, boolean loadLocaleMaps)
org.pentaho.platform.api.repository2.unified.RepositoryFile
getFile(String path, boolean loadLocaleMaps, org.pentaho.platform.api.locale.IPentahoLocale locale)
org.pentaho.platform.api.repository2.unified.RepositoryFile
getFile(String path, org.pentaho.platform.api.locale.IPentahoLocale locale)
org.pentaho.platform.api.repository2.unified.RepositoryFile
getFileAtVersion(Serializable fileId, Serializable versionId)
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(String path, int depth, String filter, boolean showHidden)
Deprecated.org.pentaho.platform.api.repository2.unified.RepositoryFileTree
getTree(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest)
List<org.pentaho.platform.api.repository2.unified.VersionSummary>
getVersionSummaries(Serializable fileId)
org.pentaho.platform.api.repository2.unified.VersionSummary
getVersionSummary(Serializable fileId, Serializable versionId)
List<org.pentaho.platform.api.repository2.unified.VersionSummary>
getVersionSummaryInBatch(List<org.pentaho.platform.api.repository2.unified.RepositoryFile> files)
boolean
hasAccess(String path, EnumSet<org.pentaho.platform.api.repository2.unified.RepositoryFilePermission> permissions)
void
lockFile(Serializable fileId, String message)
void
moveFile(Serializable fileId, String destAbsPath, 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.RepositoryFileAcl
updateAcl(org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl)
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 folder, String versionMessage)
-
-
-
Constructor Detail
-
ExceptionLoggingDecorator
public ExceptionLoggingDecorator(org.pentaho.platform.api.repository2.unified.IUnifiedRepository delegatee, Map<String,ExceptionLoggingDecorator.ExceptionConverter> exceptionConverterMap)
-
-
Method Detail
-
canUnlockFile
public boolean canUnlockFile(Serializable fileId)
- Specified by:
canUnlockFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
createFile
public 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, String versionMessage)
- Specified by:
createFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
createFolder
public org.pentaho.platform.api.repository2.unified.RepositoryFile createFolder(Serializable parentFolderId, org.pentaho.platform.api.repository2.unified.RepositoryFile file, String versionMessage)
- Specified by:
createFolder
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
deleteFile
public void deleteFile(Serializable fileId, boolean permanent, String versionMessage)
- Specified by:
deleteFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
deleteFile
public void deleteFile(Serializable fileId, String versionMessage)
- Specified by:
deleteFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
deleteFileAtVersion
public void deleteFileAtVersion(Serializable fileId, Serializable versionId)
- Specified by:
deleteFileAtVersion
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getAcl
public org.pentaho.platform.api.repository2.unified.RepositoryFileAcl getAcl(Serializable fileId)
- Specified by:
getAcl
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getChildren
public List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getChildren(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest)
- Specified by:
getChildren
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getChildren
@Deprecated public List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getChildren(Serializable folderId)
Deprecated.- Specified by:
getChildren
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getChildren
@Deprecated public List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getChildren(Serializable folderId, String filter)
Deprecated.- Specified by:
getChildren
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getChildren
@Deprecated public List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getChildren(Serializable folderId, String filter, Boolean showHiddenFiles)
Deprecated.- Specified by:
getChildren
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getDataAtVersionForExecute
public <T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData> T getDataAtVersionForExecute(Serializable fileId, Serializable versionId, Class<T> dataClass)
- Specified by:
getDataAtVersionForExecute
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getDataAtVersionForRead
public <T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData> T getDataAtVersionForRead(Serializable fileId, Serializable versionId, Class<T> dataClass)
- Specified by:
getDataAtVersionForRead
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getDataForExecute
public <T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData> T getDataForExecute(Serializable fileId, Class<T> dataClass)
- Specified by:
getDataForExecute
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getDataForExecuteInBatch
public <T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData> List<T> getDataForExecuteInBatch(List<org.pentaho.platform.api.repository2.unified.RepositoryFile> files, Class<T> dataClass)
- Specified by:
getDataForExecuteInBatch
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getDataForRead
public <T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData> T getDataForRead(Serializable fileId, Class<T> dataClass)
- Specified by:
getDataForRead
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getDataForReadInBatch
public <T extends org.pentaho.platform.api.repository2.unified.IRepositoryFileData> List<T> getDataForReadInBatch(List<org.pentaho.platform.api.repository2.unified.RepositoryFile> files, Class<T> dataClass)
- Specified by:
getDataForReadInBatch
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getDeletedFiles
public List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getDeletedFiles(String origParentFolderPath)
- Specified by:
getDeletedFiles
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getDeletedFiles
public List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getDeletedFiles(String origParentFolderPath, String filter)
- Specified by:
getDeletedFiles
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getDeletedFiles
public List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getDeletedFiles()
- Specified by:
getDeletedFiles
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getAllDeletedFiles
public List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getAllDeletedFiles()
- Specified by:
getAllDeletedFiles
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getEffectiveAces
public List<org.pentaho.platform.api.repository2.unified.RepositoryFileAce> getEffectiveAces(Serializable fileId)
- Specified by:
getEffectiveAces
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getEffectiveAces
public List<org.pentaho.platform.api.repository2.unified.RepositoryFileAce> getEffectiveAces(Serializable fileId, boolean forceEntriesInheriting)
- Specified by:
getEffectiveAces
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFile
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFile(String path)
- Specified by:
getFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFile
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFile(String path, boolean loadLocaleMaps)
- Specified by:
getFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFileAtVersion
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFileAtVersion(Serializable fileId, Serializable versionId)
- Specified by:
getFileAtVersion
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFileById
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById(Serializable fileId)
- Specified by:
getFileById
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFileById
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps)
- Specified by:
getFileById
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFile
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFile(String path, org.pentaho.platform.api.locale.IPentahoLocale locale)
- Specified by:
getFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFileById
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById(Serializable fileId, org.pentaho.platform.api.locale.IPentahoLocale locale)
- Specified by:
getFileById
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFile
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFile(String path, boolean loadLocaleMaps, org.pentaho.platform.api.locale.IPentahoLocale locale)
- Specified by:
getFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFileById
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps, org.pentaho.platform.api.locale.IPentahoLocale locale)
- Specified by:
getFileById
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getVersionSummaries
public List<org.pentaho.platform.api.repository2.unified.VersionSummary> getVersionSummaries(Serializable fileId)
- Specified by:
getVersionSummaries
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getVersionSummary
public org.pentaho.platform.api.repository2.unified.VersionSummary getVersionSummary(Serializable fileId, Serializable versionId)
- Specified by:
getVersionSummary
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getVersionSummaryInBatch
public List<org.pentaho.platform.api.repository2.unified.VersionSummary> getVersionSummaryInBatch(List<org.pentaho.platform.api.repository2.unified.RepositoryFile> files)
- Specified by:
getVersionSummaryInBatch
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
hasAccess
public boolean hasAccess(String path, EnumSet<org.pentaho.platform.api.repository2.unified.RepositoryFilePermission> permissions)
- Specified by:
hasAccess
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
lockFile
public void lockFile(Serializable fileId, String message)
- Specified by:
lockFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
moveFile
public void moveFile(Serializable fileId, String destAbsPath, String versionMessage)
- Specified by:
moveFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
copyFile
public void copyFile(Serializable fileId, String destAbsPath, String versionMessage)
- Specified by:
copyFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
restoreFileAtVersion
public void restoreFileAtVersion(Serializable fileId, Serializable versionId, String versionMessage)
- Specified by:
restoreFileAtVersion
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
undeleteFile
public void undeleteFile(Serializable fileId, String versionMessage)
- Specified by:
undeleteFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
unlockFile
public void unlockFile(Serializable fileId)
- Specified by:
unlockFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
updateAcl
public org.pentaho.platform.api.repository2.unified.RepositoryFileAcl updateAcl(org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl)
- Specified by:
updateAcl
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
updateFile
public 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)
- Specified by:
updateFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getTree
public org.pentaho.platform.api.repository2.unified.RepositoryFileTree getTree(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest)
- Specified by:
getTree
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getTree
@Deprecated public org.pentaho.platform.api.repository2.unified.RepositoryFileTree getTree(String path, int depth, String filter, boolean showHidden)
Deprecated.- Specified by:
getTree
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
createFile
public 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)
- Specified by:
createFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
createFolder
public 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)
- Specified by:
createFolder
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getReferrers
public List<org.pentaho.platform.api.repository2.unified.RepositoryFile> getReferrers(Serializable fileId)
- Specified by:
getReferrers
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
setFileMetadata
public void setFileMetadata(Serializable fileId, Map<String,Serializable> metadataMap)
- Specified by:
setFileMetadata
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getFileMetadata
public Map<String,Serializable> getFileMetadata(Serializable fileId)
- Specified by:
getFileMetadata
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getReservedChars
public List<Character> getReservedChars()
- Specified by:
getReservedChars
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getAvailableLocalesForFileById
public List<Locale> getAvailableLocalesForFileById(Serializable fileId)
- Specified by:
getAvailableLocalesForFileById
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getAvailableLocalesForFileByPath
public List<Locale> getAvailableLocalesForFileByPath(String relPath)
- Specified by:
getAvailableLocalesForFileByPath
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getAvailableLocalesForFile
public List<Locale> getAvailableLocalesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile)
- Specified by:
getAvailableLocalesForFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getLocalePropertiesForFileById
public Properties getLocalePropertiesForFileById(Serializable fileId, String locale)
- Specified by:
getLocalePropertiesForFileById
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getLocalePropertiesForFileByPath
public Properties getLocalePropertiesForFileByPath(String relPath, String locale)
- Specified by:
getLocalePropertiesForFileByPath
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
getLocalePropertiesForFile
public Properties getLocalePropertiesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, String locale)
- Specified by:
getLocalePropertiesForFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
setLocalePropertiesForFileById
public void setLocalePropertiesForFileById(Serializable fileId, String locale, Properties properties)
- Specified by:
setLocalePropertiesForFileById
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
setLocalePropertiesForFileByPath
public void setLocalePropertiesForFileByPath(String relPath, String locale, Properties properties)
- Specified by:
setLocalePropertiesForFileByPath
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
setLocalePropertiesForFile
public void setLocalePropertiesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, String locale, Properties properties)
- Specified by:
setLocalePropertiesForFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
deleteLocalePropertiesForFile
public void deleteLocalePropertiesForFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, String locale)
- Specified by:
deleteLocalePropertiesForFile
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
updateFolder
public org.pentaho.platform.api.repository2.unified.RepositoryFile updateFolder(org.pentaho.platform.api.repository2.unified.RepositoryFile folder, String versionMessage)
- Specified by:
updateFolder
in interfaceorg.pentaho.platform.api.repository2.unified.IUnifiedRepository
-
-