public interface RUserRepositoryFileCalls
Modifier and Type | Method and Description |
---|---|
void |
copyFiles(java.lang.String destinationDirectory,
java.util.List<RRepositoryFile> files,
java.util.List<java.lang.String> fileRenames)
Copy one or more files to a repository-managed directory.
|
RRepositoryFile |
fetchFile(java.lang.String filename,
java.lang.String directory,
java.lang.String author,
java.lang.String version)
Fetch latest meta-data on repository-managed file.
|
java.util.List<RRepositoryFile> |
listExternalFiles()
List files in the user's external repository.
|
java.util.List<RRepositoryFile> |
listExternalFiles(boolean shared,
boolean published)
List files in the user's external repository.
|
java.util.List<RRepositoryFile> |
listExternalFiles(RRepositoryFile.Category categoryFilter,
java.lang.String directoryFilter)
List files in the user's external repository using filters to
constrain the files in the response markup.
|
java.util.List<RRepositoryFile> |
listFiles()
List files in the user's default repository.
|
java.util.List<RRepositoryFile> |
listFiles(boolean archived,
boolean shared,
boolean published)
List files in the user's default repository.
|
java.util.List<RRepositoryFile> |
listFiles(RRepositoryFile.Category categoryFilter,
java.lang.String directoryFilter)
List files in the user's default repository using filters to
constrain the files in the response markup.
|
java.util.List<RRepositoryFile> |
listFiles(java.lang.String filename,
java.lang.String directory)
List versions of named file in user's default repository.
|
void |
moveFiles(java.lang.String destinationDirectory,
java.util.List<RRepositoryFile> files)
Move one or more files to a repository-managed directory.
|
RRepositoryFile |
transferFile(java.net.URL url,
RepoUploadOptions options)
Transfer file to user repository.
|
RRepositoryFile |
uploadFile(java.io.InputStream fileStream,
RepoUploadOptions options)
Upload file to user repository.
|
RRepositoryFile |
writeFile(java.lang.String text,
RepoUploadOptions options)
Write file to user repository.
|
java.util.List<RRepositoryFile> listFiles() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.util.List<RRepositoryFile> listFiles(boolean archived, boolean shared, boolean published) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.util.List<RRepositoryFile> listFiles(java.lang.String filename, java.lang.String directory) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.util.List<RRepositoryFile> listFiles(RRepositoryFile.Category categoryFilter, java.lang.String directoryFilter) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.util.List<RRepositoryFile> listExternalFiles() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.util.List<RRepositoryFile> listExternalFiles(boolean shared, boolean published) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.util.List<RRepositoryFile> listExternalFiles(RRepositoryFile.Category categoryFilter, java.lang.String directoryFilter) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFile fetchFile(java.lang.String filename, java.lang.String directory, java.lang.String author, java.lang.String version) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFile uploadFile(java.io.InputStream fileStream, RepoUploadOptions options) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFile writeFile(java.lang.String text, RepoUploadOptions options) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFile transferFile(java.net.URL url, RepoUploadOptions options) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.void copyFiles(java.lang.String destinationDirectory, java.util.List<RRepositoryFile> files, java.util.List<java.lang.String> fileRenames) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.void moveFiles(java.lang.String destinationDirectory, java.util.List<RRepositoryFile> files) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.