public class SpaceRestResourcesV1 extends Object implements org.exoplatform.social.rest.api.SpaceRestResources
| Constructor and Description |
|---|
SpaceRestResourcesV1() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createSpace(javax.ws.rs.core.UriInfo uriInfo,
String expand,
org.exoplatform.social.rest.entity.SpaceEntity model) |
javax.ws.rs.core.Response |
deleteSpaceById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand) |
javax.ws.rs.core.Response |
getSpaceActivitiesById(javax.ws.rs.core.UriInfo uriInfo,
String id,
int offset,
int limit,
String before,
String after,
boolean returnSize,
String expand) |
javax.ws.rs.core.Response |
getSpaceById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand) |
javax.ws.rs.core.Response |
getSpaceMembers(javax.ws.rs.core.UriInfo uriInfo,
String id,
String role,
int offset,
int limit,
boolean returnSize,
String expand) |
javax.ws.rs.core.Response |
getSpaces(javax.ws.rs.core.UriInfo uriInfo,
String q,
int offset,
int limit,
boolean returnSize,
String expand) |
javax.ws.rs.core.Response |
postActivityOnSpace(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
org.exoplatform.social.service.rest.api.models.ActivityRestIn model) |
javax.ws.rs.core.Response |
updateSpaceById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
org.exoplatform.social.rest.entity.SpaceEntity model) |
@RolesAllowed(value="users") public javax.ws.rs.core.Response getSpaces(@Context javax.ws.rs.core.UriInfo uriInfo, String q, int offset, int limit, boolean returnSize, String expand) throws Exception
getSpaces in interface org.exoplatform.social.rest.api.SpaceRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response createSpace(@Context javax.ws.rs.core.UriInfo uriInfo, String expand, org.exoplatform.social.rest.entity.SpaceEntity model) throws Exception
createSpace in interface org.exoplatform.social.rest.api.SpaceRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getSpaceById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws Exception
getSpaceById in interface org.exoplatform.social.rest.api.SpaceRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response updateSpaceById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand, org.exoplatform.social.rest.entity.SpaceEntity model) throws Exception
updateSpaceById in interface org.exoplatform.social.rest.api.SpaceRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response deleteSpaceById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws Exception
deleteSpaceById in interface org.exoplatform.social.rest.api.SpaceRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getSpaceMembers(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String role, int offset, int limit, boolean returnSize, String expand) throws Exception
getSpaceMembers in interface org.exoplatform.social.rest.api.SpaceRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getSpaceActivitiesById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, int offset, int limit, String before, String after, boolean returnSize, String expand) throws Exception
getSpaceActivitiesById in interface org.exoplatform.social.rest.api.SpaceRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response postActivityOnSpace(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand, org.exoplatform.social.service.rest.api.models.ActivityRestIn model) throws Exception
postActivityOnSpace in interface org.exoplatform.social.rest.api.SpaceRestResourcesExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.