@Path(value="/containers/_manage")
public interface IContainers
Modifier and Type | Method and Description |
---|---|
java.util.List<ContainerDescriptor> |
all(ContainerQuery query) |
java.util.List<ContainerDescriptor> |
allForUser(java.lang.String domainUid,
java.lang.String userUid,
ContainerQuery query) |
java.util.List<BaseContainerDescriptor> |
allLight(ContainerQuery query) |
void |
create(java.lang.String uid,
ContainerDescriptor descriptor)
Create a container
|
void |
delete(java.lang.String uid)
Delete a container
|
ContainerDescriptor |
get(java.lang.String uid)
Get a container
|
java.util.List<ContainerDescriptor> |
getContainers(java.util.List<java.lang.String> containerIds)
Get container
|
ContainerDescriptor |
getForUser(java.lang.String domainUid,
java.lang.String userUid,
java.lang.String uid)
Get a container as if it where requested by another user.
|
ContainerDescriptor |
getIfPresent(java.lang.String uid)
Get a container
|
void |
setAccessControlList(java.lang.String uid,
java.util.List<AccessControlEntry> entries) |
void |
update(java.lang.String uid,
ContainerModifiableDescriptor descriptor)
Update a container
|
@GET @Path(value="{uid}") ContainerDescriptor get(@PathParam(value="uid") java.lang.String uid) throws ServerFault
uid
- ServerFault
@GET @Path(value="_forUser") ContainerDescriptor getForUser(@QueryParam(value="domainUid") java.lang.String domainUid, @QueryParam(value="userUid") java.lang.String userUid, @QueryParam(value="uid") java.lang.String uid) throws ServerFault
domainUid
- userUid
- uid
- ServerFault
@GET @Path(value="_ifPresent/{uid}") ContainerDescriptor getIfPresent(@PathParam(value="uid") java.lang.String uid) throws ServerFault
uid
- ServerFault
@PUT @Path(value="{uid}") void create(@PathParam(value="uid") java.lang.String uid, ContainerDescriptor descriptor) throws ServerFault
uid
- descriptor
- ServerFault
@DELETE @Path(value="{uid}") void delete(@PathParam(value="uid") java.lang.String uid) throws ServerFault
uid
- ServerFault
@POST @Path(value="{uid}") void update(@PathParam(value="uid") java.lang.String uid, ContainerModifiableDescriptor descriptor) throws ServerFault
uid
- descriptor
- ServerFault
@POST @Path(value="_list") java.util.List<ContainerDescriptor> all(ContainerQuery query) throws ServerFault
containerQuery
- ServerFault
@POST @Path(value="_listLight") java.util.List<BaseContainerDescriptor> allLight(ContainerQuery query) throws ServerFault
ServerFault
@POST @Path(value="_listforuser") java.util.List<ContainerDescriptor> allForUser(@QueryParam(value="domainUid") java.lang.String domainUid, @QueryParam(value="userUid") java.lang.String userUid, ContainerQuery query) throws ServerFault
containerQuery
- ServerFault
@POST @Path(value="_mget") java.util.List<ContainerDescriptor> getContainers(java.util.List<java.lang.String> containerIds) throws ServerFault
containerIds
- ContainerDescriptor
listServerFault
@POST @Path(value="{uid}/_acl") void setAccessControlList(@PathParam(value="uid") java.lang.String uid, java.util.List<AccessControlEntry> entries) throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.