@Path(value="/containers/_manage/{containerUid}")
public interface IContainerManagement
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
|
@PUT @Path(value="_acl") void setAccessControlList(java.util.List<AccessControlEntry> entries) throws ServerFault
entries
- aclServerFault
@GET @Path(value="_acl") java.util.List<AccessControlEntry> getAccessControlList() throws ServerFault
ServerFault
@GET @Path(value="_descriptor") ContainerDescriptor getDescriptor() throws ServerFault
ContainerDescriptor
ServerFault
@POST @Path(value="_descriptor") void update(ContainerModifiableDescriptor descriptor) throws ServerFault
descriptor
- ServerFault
@GET @Path(value="_subscription") java.util.List<java.lang.String> subscribers() throws ServerFault
ServerFault
@GET @Path(value="_list") java.util.List<ItemDescriptor> getAllItems() throws ServerFault
ItemDescriptor
listServerFault
@GET @Path(value="_filtered") java.util.List<ItemDescriptor> getFilteredItems(ItemFlagFilter filter) throws ServerFault
ItemDescriptor
listServerFault
@POST @Path(value="_mget") java.util.List<ItemDescriptor> getItems(java.util.List<java.lang.String> uids) throws ServerFault
uids
- ItemDescriptor
listServerFault
@PUT @Path(value="_personalSettings") void setPersonalSettings(java.util.Map<java.lang.String,java.lang.String> settings) throws ServerFault
settings
- ServerFault
@PUT @Path(value="_settings") void setSettings(java.util.Map<java.lang.String,java.lang.String> settings) throws ServerFault
settings
- ServerFault
@GET @Path(value="_settings") java.util.Map<java.lang.String,java.lang.String> getSettings() throws ServerFault
ServerFault
@PUT @Path(value="{subject}/offlineSync") void allowOfflineSync(@PathParam(value="subject") java.lang.String subject) throws ServerFault
ServerFault
@DELETE @Path(value="{subject}/offlineSync") void disallowOfflineSync(@PathParam(value="subject") java.lang.String subject) throws ServerFault
ServerFault
@POST @Path(value="_canAccess") boolean canAccess(java.util.List<java.lang.String> verbsOrRoles) throws ServerFault
ServerFault
@GET @Path(value="_itemCount") Count getItemCount() throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.