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:
parent
62a595d7d1
commit
528b20a8e4
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue