public class ContainerManagement extends java.lang.Object implements IContainerManagement
Constructor and Description |
---|
ContainerManagement(BmContext context,
Container container) |
Modifier and Type | Method and Description |
---|---|
void |
allowOfflineSync(java.lang.String subject) |
boolean |
canAccess(java.util.List<java.lang.String> verbsOrRoles) |
void |
disallowOfflineSync(java.lang.String subject) |
java.util.List<AccessControlEntry> |
getAccessControlList()
Retrieve container ACL
|
java.util.List<ItemDescriptor> |
getAllItems()
Get all container items
|
ContainerDescriptor |
getDescriptor()
Retrieve container descriptor
|
java.util.List<ItemDescriptor> |
getFilteredItems(ItemFlagFilter filter)
Get all container items matching the given filter
|
Count |
getItemCount() |
java.util.List<ItemDescriptor> |
getItems(java.util.List<java.lang.String> uids)
Get container items
|
java.util.Map<java.lang.String,java.lang.String> |
getSettings()
Get container settings
|
void |
setAccessControlList(java.util.List<AccessControlEntry> entries)
store container ACL
|
void |
setPersonalSettings(java.util.Map<java.lang.String,java.lang.String> settings)
Set container personal settings
|
void |
setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
Set container settings
|
java.util.List<java.lang.String> |
subscribers() |
void |
update(ContainerModifiableDescriptor descriptor)
Update container descriptor
|
public ContainerManagement(BmContext context, Container container) throws ServerFault
ServerFault
public void setAccessControlList(java.util.List<AccessControlEntry> entries) throws ServerFault
IContainerManagement
setAccessControlList
in interface IContainerManagement
entries
- aclServerFault
public java.util.List<AccessControlEntry> getAccessControlList() throws ServerFault
IContainerManagement
getAccessControlList
in interface IContainerManagement
ServerFault
public ContainerDescriptor getDescriptor() throws ServerFault
IContainerManagement
getDescriptor
in interface IContainerManagement
ContainerDescriptor
ServerFault
public void update(ContainerModifiableDescriptor descriptor) throws ServerFault
IContainerManagement
update
in interface IContainerManagement
ServerFault
public java.util.List<java.lang.String> subscribers() throws ServerFault
subscribers
in interface IContainerManagement
ServerFault
public java.util.List<ItemDescriptor> getAllItems() throws ServerFault
IContainerManagement
getAllItems
in interface IContainerManagement
ItemDescriptor
listServerFault
public java.util.List<ItemDescriptor> getFilteredItems(ItemFlagFilter filter) throws ServerFault
IContainerManagement
getFilteredItems
in interface IContainerManagement
ItemDescriptor
listServerFault
public java.util.List<ItemDescriptor> getItems(java.util.List<java.lang.String> uids) throws ServerFault
IContainerManagement
getItems
in interface IContainerManagement
ItemDescriptor
listServerFault
public void setPersonalSettings(java.util.Map<java.lang.String,java.lang.String> settings) throws ServerFault
IContainerManagement
setPersonalSettings
in interface IContainerManagement
ServerFault
public void setSettings(java.util.Map<java.lang.String,java.lang.String> settings) throws ServerFault
IContainerManagement
setSettings
in interface IContainerManagement
ServerFault
public java.util.Map<java.lang.String,java.lang.String> getSettings() throws ServerFault
IContainerManagement
getSettings
in interface IContainerManagement
ServerFault
public void allowOfflineSync(java.lang.String subject) throws ServerFault
allowOfflineSync
in interface IContainerManagement
ServerFault
public void disallowOfflineSync(java.lang.String subject) throws ServerFault
disallowOfflineSync
in interface IContainerManagement
ServerFault
public Count getItemCount()
getItemCount
in interface IContainerManagement
public boolean canAccess(java.util.List<java.lang.String> verbsOrRoles) throws ServerFault
canAccess
in interface IContainerManagement
ServerFault
Copyright © 2021. All Rights Reserved.