This commit is contained in:
Lucio Lelii 2019-04-30 12:53:12 +00:00
parent b6c9e1d1c9
commit 3c459a8ffc
1 changed files with 3 additions and 2 deletions

View File

@ -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);
}
}