public interface RRepositoryFile
Modifier and Type | Interface and Description |
---|---|
static class |
RRepositoryFile.Category
Categories of repository-managed file.
|
Modifier and Type | Method and Description |
---|---|
RRepositoryFileDetails |
about()
About managed repository file.
|
void |
delete()
Delete managed repository file.
|
java.net.URL |
diff()
Diff managed repository file version against the latest version.
|
java.io.InputStream |
download()
Download managed repository file.
|
RRepositoryFile |
grant(java.lang.String newauthor,
java.lang.String revokeauthor)
Grant or revoke repository file to/from another user.
|
RRepositoryFile |
revert(RRepositoryFile fileVersion,
java.lang.String descr,
java.lang.String restricted,
boolean shared,
boolean published)
Revert repository file to an earlier version.
|
RRepositoryFile |
update(java.lang.String restricted,
boolean shared,
boolean published,
java.lang.String descr)
Update repository file.
|
RRepositoryFile |
update(java.lang.String restricted,
boolean shared,
boolean published,
java.lang.String descr,
java.lang.String inputs,
java.lang.String outputs)
Update repository file.
|
java.util.List<RRepositoryFile> |
versions()
Retrieve versions of this managed repository file.
|
RRepositoryFileDetails about() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFileDetails
java.util.List<RRepositoryFile> versions() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFileDetails
RRepositoryFile grant(java.lang.String newauthor, java.lang.String revokeauthor) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFileDetails
RRepositoryFile revert(RRepositoryFile fileVersion, java.lang.String descr, java.lang.String restricted, boolean shared, boolean published) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFileDetails
RRepositoryFile update(java.lang.String restricted, boolean shared, boolean published, java.lang.String descr) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFileDetails
RRepositoryFile update(java.lang.String restricted, boolean shared, boolean published, java.lang.String descr, java.lang.String inputs, java.lang.String outputs) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFileDetails
java.net.URL diff() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFileDetails
java.io.InputStream download() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFileDetails
void delete() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RRepositoryFileDetails