public class GroupSpaceBindingRestResourcesV1 extends Object implements GroupSpaceBindingRestResources
GroupSpaceBindingRestResources
implementation.| Constructor and Description |
|---|
GroupSpaceBindingRestResourcesV1(org.exoplatform.social.core.space.spi.SpaceService spaceService,
org.exoplatform.social.core.binding.spi.GroupSpaceBindingService groupSpaceBindingService,
org.exoplatform.portal.config.UserACL userACL) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
deleteSpaceBinding(javax.ws.rs.core.UriInfo uriInfo,
String bindingId)
Delete a binding by id.
|
javax.ws.rs.core.Response |
getBindingReportOperations(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getBindingsBySpaceId(javax.ws.rs.core.UriInfo uriInfo,
String spaceId,
int offset,
int limit,
boolean returnSize)
Return a list of binding in json format
|
javax.ws.rs.core.Response |
getGroupsTree(javax.ws.rs.core.UriInfo uriInfo)
Return the groups in a tree structure of json format
|
javax.ws.rs.core.Response |
getReport(javax.ws.rs.core.UriInfo uriInfo,
String spaceId,
String action,
String group,
String groupBindingId) |
javax.ws.rs.core.Response |
saveGroupSpaceBindings(javax.ws.rs.core.UriInfo uriInfo,
String spaceId,
List<String> groupNames)
Return a list of binding in json format
|
public GroupSpaceBindingRestResourcesV1(org.exoplatform.social.core.space.spi.SpaceService spaceService,
org.exoplatform.social.core.binding.spi.GroupSpaceBindingService groupSpaceBindingService,
org.exoplatform.portal.config.UserACL userACL)
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response getBindingsBySpaceId(@Context javax.ws.rs.core.UriInfo uriInfo, String spaceId, int offset, int limit, boolean returnSize) throws Exception
getBindingsBySpaceId in interface GroupSpaceBindingRestResourcesspaceId - Id of the spaceoffset - Bindings list offsetlimit - Bindings list limitreturnSize - Return Size of the list?Exception@RolesAllowed(value="administrators") public javax.ws.rs.core.Response saveGroupSpaceBindings(@Context javax.ws.rs.core.UriInfo uriInfo, String spaceId, List<String> groupNames)
saveGroupSpaceBindings in interface GroupSpaceBindingRestResourcesspaceId - Id of the spacegroupNames - List of group names to be bound to the space@RolesAllowed(value="administrators") public javax.ws.rs.core.Response deleteSpaceBinding(@Context javax.ws.rs.core.UriInfo uriInfo, String bindingId) throws Exception
deleteSpaceBinding in interface GroupSpaceBindingRestResourcesbindingId - Id of the spaceException@RolesAllowed(value="administrators") public javax.ws.rs.core.Response getGroupsTree(@Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
GroupSpaceBindingRestResourcesgetGroupsTree in interface GroupSpaceBindingRestResourcesException@RolesAllowed(value="administrators") public javax.ws.rs.core.Response getReport(@Context javax.ws.rs.core.UriInfo uriInfo, String spaceId, String action, String group, String groupBindingId) throws Exception
getReport in interface GroupSpaceBindingRestResourcesException@RolesAllowed(value="administrators") public javax.ws.rs.core.Response getBindingReportOperations(@Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
getBindingReportOperations in interface GroupSpaceBindingRestResourcesExceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.