updated the interface

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@176370 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-01-08 14:49:16 +00:00
parent 62a595d7d1
commit 528b20a8e4
1 changed files with 11 additions and 2 deletions

View File

@ -278,9 +278,8 @@ public interface Workspace{
public WorkspaceItem renameItem(String itemId, String newName) throws ItemNotFoundException, InternalErrorException, ItemAlreadyExistException, InsufficientPrivilegesException, Exception;
/**
* Gets the public link for file.
* Gets the public link to the latest version of file item.
*
* @param fileItemId the file item id
* @return the public link for file
@ -288,6 +287,16 @@ public interface Workspace{
*/
public URL getPublicLinkForFile(String fileItemId) throws Exception;
/**
* Gets the public link of the file at the input version
*
* @param fileItemId the file item id
* @param version the version
* @return the public link for file
* @throws Exception the exception
*/
public URL getPublicLinkForFile(String fileItemId, String version) throws Exception;
/**
* Gets the list versions for file.