public class UnifiedRepositoryToWebServiceAdapter extends Object implements IUnifiedRepository
IUnifiedRepository
into IUnifiedRepositoryWebService
. This is how client code
remains unaware of server code location.SYSTEM_FOLDER
Constructor and Description |
---|
UnifiedRepositoryToWebServiceAdapter(IUnifiedRepositoryJaxwsWebService repoWebService) |
public UnifiedRepositoryToWebServiceAdapter(IUnifiedRepositoryJaxwsWebService repoWebService)
public RepositoryFile createFile(Serializable parentFolderId, RepositoryFile file, IRepositoryFileData data, String versionMessage)
createFile
in interface IUnifiedRepository
public RepositoryFile createFolder(Serializable parentFolderId, RepositoryFile file, String versionMessage)
createFolder
in interface IUnifiedRepository
public void deleteFile(Serializable fileId, boolean permanent, String versionMessage)
deleteFile
in interface IUnifiedRepository
public void deleteFile(Serializable fileId, String versionMessage)
deleteFile
in interface IUnifiedRepository
public void deleteFileAtVersion(Serializable fileId, Serializable versionId)
deleteFileAtVersion
in interface IUnifiedRepository
public RepositoryFileAcl getAcl(Serializable fileId)
getAcl
in interface IUnifiedRepository
public List<RepositoryFile> getChildren(RepositoryRequest repositoryRequest)
getChildren
in interface IUnifiedRepository
@Deprecated public List<RepositoryFile> getChildren(Serializable folderId)
getChildren
in interface IUnifiedRepository
@Deprecated public List<RepositoryFile> getChildren(Serializable folderId, String filter)
getChildren
in interface IUnifiedRepository
public List<RepositoryFile> getChildren(Serializable folderId, String filter, Boolean showHiddenFiles)
getChildren
in interface IUnifiedRepository
public <T extends IRepositoryFileData> T getDataForExecute(Serializable fileId, Class<T> dataClass)
getDataForExecute
in interface IUnifiedRepository
public <T extends IRepositoryFileData> List<T> getDataForExecuteInBatch(List<RepositoryFile> files, Class<T> dataClass)
getDataForExecuteInBatch
in interface IUnifiedRepository
public <T extends IRepositoryFileData> T getDataAtVersionForExecute(Serializable fileId, Serializable versionId, Class<T> dataClass)
getDataAtVersionForExecute
in interface IUnifiedRepository
public <T extends IRepositoryFileData> T getDataForRead(Serializable fileId, Class<T> dataClass)
getDataForRead
in interface IUnifiedRepository
public <T extends IRepositoryFileData> List<T> getDataForReadInBatch(List<RepositoryFile> files, Class<T> dataClass)
getDataForReadInBatch
in interface IUnifiedRepository
public <T extends IRepositoryFileData> T getDataAtVersionForRead(Serializable fileId, Serializable versionId, Class<T> dataClass)
getDataAtVersionForRead
in interface IUnifiedRepository
public List<RepositoryFile> getDeletedFiles(String origParentFolderPath)
getDeletedFiles
in interface IUnifiedRepository
public List<RepositoryFile> getDeletedFiles(String origParentFolderPath, String filter)
getDeletedFiles
in interface IUnifiedRepository
public List<RepositoryFile> getDeletedFiles()
getDeletedFiles
in interface IUnifiedRepository
public List<RepositoryFileAce> getEffectiveAces(Serializable fileId)
getEffectiveAces
in interface IUnifiedRepository
public List<RepositoryFileAce> getEffectiveAces(Serializable fileId, boolean forceEntriesInheriting)
getEffectiveAces
in interface IUnifiedRepository
public RepositoryFile getFile(String path)
getFile
in interface IUnifiedRepository
public RepositoryFile getFileAtVersion(Serializable fileId, Serializable versionId)
getFileAtVersion
in interface IUnifiedRepository
public RepositoryFile getFileById(Serializable fileId)
getFileById
in interface IUnifiedRepository
public RepositoryFile getFile(String path, boolean loadLocaleMaps)
getFile
in interface IUnifiedRepository
public RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps)
getFileById
in interface IUnifiedRepository
public RepositoryFile getFile(String path, IPentahoLocale locale)
getFile
in interface IUnifiedRepository
public RepositoryFile getFileById(Serializable fileId, IPentahoLocale locale)
getFileById
in interface IUnifiedRepository
public RepositoryFile getFile(String path, boolean loadLocaleMaps, IPentahoLocale locale)
getFile
in interface IUnifiedRepository
public RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps, IPentahoLocale locale)
getFileById
in interface IUnifiedRepository
public List<VersionSummary> getVersionSummaries(Serializable fileId)
getVersionSummaries
in interface IUnifiedRepository
public VersionSummary getVersionSummary(Serializable fileId, Serializable versionId)
getVersionSummary
in interface IUnifiedRepository
public List<VersionSummary> getVersionSummaryInBatch(List<RepositoryFile> files)
getVersionSummaryInBatch
in interface IUnifiedRepository
public boolean hasAccess(String path, EnumSet<RepositoryFilePermission> permissions)
hasAccess
in interface IUnifiedRepository
public void lockFile(Serializable fileId, String message)
lockFile
in interface IUnifiedRepository
public void moveFile(Serializable fileId, String destAbsPath, String versionMessage)
moveFile
in interface IUnifiedRepository
public void copyFile(Serializable fileId, String destAbsPath, String versionMessage)
copyFile
in interface IUnifiedRepository
public void undeleteFile(Serializable fileId, String versionMessage)
undeleteFile
in interface IUnifiedRepository
public void unlockFile(Serializable fileId)
unlockFile
in interface IUnifiedRepository
public RepositoryFileAcl updateAcl(RepositoryFileAcl acl)
updateAcl
in interface IUnifiedRepository
public RepositoryFile updateFile(RepositoryFile file, IRepositoryFileData data, String versionMessage)
updateFile
in interface IUnifiedRepository
public void restoreFileAtVersion(Serializable fileId, Serializable versionId, String versionMessage)
restoreFileAtVersion
in interface IUnifiedRepository
public boolean canUnlockFile(Serializable fileId)
canUnlockFile
in interface IUnifiedRepository
public RepositoryFileTree getTree(RepositoryRequest repositoryRequest)
getTree
in interface IUnifiedRepository
@Deprecated public RepositoryFileTree getTree(String path, int depth, String filter, boolean showHidden)
getTree
in interface IUnifiedRepository
public RepositoryFile createFile(Serializable parentFolderId, RepositoryFile file, IRepositoryFileData data, RepositoryFileAcl acl, String versionMessage)
createFile
in interface IUnifiedRepository
public RepositoryFile createFolder(Serializable parentFolderId, RepositoryFile file, RepositoryFileAcl acl, String versionMessage)
createFolder
in interface IUnifiedRepository
public List<RepositoryFile> getReferrers(Serializable fileId)
getReferrers
in interface IUnifiedRepository
public void setFileMetadata(Serializable fileId, Map<String,Serializable> metadataMap)
setFileMetadata
in interface IUnifiedRepository
public Map<String,Serializable> getFileMetadata(Serializable fileId)
getFileMetadata
in interface IUnifiedRepository
public List<Character> getReservedChars()
getReservedChars
in interface IUnifiedRepository
public List<Locale> getAvailableLocalesForFileById(Serializable fileId)
getAvailableLocalesForFileById
in interface IUnifiedRepository
public List<Locale> getAvailableLocalesForFileByPath(String relPath)
getAvailableLocalesForFileByPath
in interface IUnifiedRepository
public List<Locale> getAvailableLocalesForFile(RepositoryFile repositoryFile)
getAvailableLocalesForFile
in interface IUnifiedRepository
public Properties getLocalePropertiesForFileById(Serializable fileId, String locale)
getLocalePropertiesForFileById
in interface IUnifiedRepository
public Properties getLocalePropertiesForFileByPath(String relPath, String locale)
getLocalePropertiesForFileByPath
in interface IUnifiedRepository
public Properties getLocalePropertiesForFile(RepositoryFile repositoryFile, String locale)
getLocalePropertiesForFile
in interface IUnifiedRepository
public void setLocalePropertiesForFileById(Serializable fileId, String locale, Properties properties)
setLocalePropertiesForFileById
in interface IUnifiedRepository
public void setLocalePropertiesForFileByPath(String relPath, String locale, Properties properties)
setLocalePropertiesForFileByPath
in interface IUnifiedRepository
public void setLocalePropertiesForFile(RepositoryFile repositoryFile, String locale, Properties properties)
setLocalePropertiesForFile
in interface IUnifiedRepository
public void deleteLocalePropertiesForFile(RepositoryFile repositoryFile, String locale)
deleteLocalePropertiesForFile
in interface IUnifiedRepository
public RepositoryFile updateFolder(RepositoryFile folder, String versionMessage)
updateFolder
in interface IUnifiedRepository
Copyright © 2017 Hitachi Vantara. All rights reserved.