git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/Common/storagehub-client@179196 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b6c9e1d1c9
commit
3c459a8ffc
|
@ -64,12 +64,13 @@ public class FolderContainer extends ItemContainer<FolderItem>{
|
|||
|
||||
public FolderContainer share(Set<String> users, AccessType accessType) throws Exception {
|
||||
itemclient.shareFolder(this.itemId, users, accessType);
|
||||
this.invalidateItem();
|
||||
return this;
|
||||
}
|
||||
|
||||
public FolderContainer unshare(Set<String> users) throws Exception {
|
||||
itemclient.unshareFolder(this.itemId, users);
|
||||
return this;
|
||||
String unsharedId = itemclient.unshareFolder(this.itemId, users);
|
||||
return new FolderContainer(itemclient, unsharedId);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue