Package net.bluemind.core.container.api
Interface IContainerManagement
- All Known Subinterfaces:
IInternalContainerManagement
@Path("/containers/_manage/{containerUid}")
public interface IContainerManagement
Management container
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allowOfflineSync
(String subject) boolean
Deprecated, for removal: This API element is subject to removal in a future version.canAccessVerbs
(List<String> verbsOrRoles) void
disallowOfflineSync
(String subject) Retrieve container ACLGet all container itemsRetrieve container descriptorgetFilteredItems
(ItemFlagFilter filter) Get all container items matching the given filterGet container itemsGet container settingsvoid
setAccessControlList
(List<AccessControlEntry> entries) store container ACLvoid
setPersonalSettings
(Map<String, String> settings) Set container personal settingsvoid
setSetting
(String key, String value) Set a container setting, only one key at a timevoid
setSettings
(Map<String, String> settings) Set container settingsvoid
update
(ContainerModifiableDescriptor descriptor) Update container descriptor
-
Method Details
-
setAccessControlList
store container ACL- Parameters:
entries
- acl- Throws:
ServerFault
-
getAccessControlList
Retrieve container ACL- Returns:
- List of access control entries
- Throws:
ServerFault
-
getDescriptor
Retrieve container descriptor- Returns:
ContainerDescriptor
- Throws:
ServerFault
-
update
Update container descriptor- Parameters:
descriptor
-- Throws:
ServerFault
-
subscribers
- Throws:
ServerFault
-
getAllItems
Get all container items- Returns:
ItemDescriptor
list- Throws:
ServerFault
-
getFilteredItems
@GET @Path("_filtered") List<ItemDescriptor> getFilteredItems(ItemFlagFilter filter) throws ServerFault Get all container items matching the given filter- Returns:
ItemDescriptor
list- Throws:
ServerFault
-
getItems
Get container items- Parameters:
uids
-- Returns:
ItemDescriptor
list- Throws:
ServerFault
-
setPersonalSettings
@PUT @Path("_personalSettings") void setPersonalSettings(Map<String, String> settings) throws ServerFaultSet container personal settings- Parameters:
settings
-- Throws:
ServerFault
-
setSettings
Set container settings- Parameters:
settings
-- Throws:
ServerFault
-
setSetting
@PUT @Path("_settings/{key}") void setSetting(@PathParam("key") String key, String value) throws ServerFault Set a container setting, only one key at a time- Parameters:
key
- string: look ContainerSettingsKeysvalue
-- Throws:
ServerFault
-
getSettings
Get container settings- Throws:
ServerFault
-
allowOfflineSync
@PUT @Path("{subject}/offlineSync") void allowOfflineSync(@PathParam("subject") String subject) throws ServerFault - Throws:
ServerFault
-
disallowOfflineSync
@DELETE @Path("{subject}/offlineSync") void disallowOfflineSync(@PathParam("subject") String subject) throws ServerFault - Throws:
ServerFault
-
canAccess
@POST @Path("_canAccess") @Deprecated(forRemoval=true) boolean canAccess(List<String> verbsOrRoles) throws ServerFault Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
ServerFault
-
canAccessVerbs
@POST @Path("_canAccessVerbs") PermittedVerbs canAccessVerbs(List<String> verbsOrRoles) throws ServerFault - Throws:
ServerFault
-
getItemCount
- Throws:
ServerFault
-