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> |
listFiles()
List files in user repository.
|
java.util.List<RRepositoryFile> |
listFiles(boolean archived,
boolean shared,
boolean published)
List files including those archived by the caller or those shared or published
by other users in the repository.
|
java.util.List<RRepositoryFile> |
listFiles(java.lang.String filename,
java.lang.String directory)
List versions of named file in user repository-managed directory.
|
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.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.