public class RESTUserService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACTIVITY |
protected static String |
STATUS |
| Constructor and Description |
|---|
RESTUserService(UserStateService userService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getStatus(String userId) |
javax.ws.rs.core.Response |
online() |
javax.ws.rs.core.Response |
setStatus(String status) |
javax.ws.rs.core.Response |
setStatus(String userId,
String status)
Deprecated.
|
javax.ws.rs.core.Response |
updateState() |
protected static final String ACTIVITY
protected static final String STATUS
public RESTUserService(UserStateService userService)
@RolesAllowed(value="users") public javax.ws.rs.core.Response updateState()
@RolesAllowed(value="users") public javax.ws.rs.core.Response online() throws ParserConfigurationException, org.json.JSONException
ParserConfigurationExceptionorg.json.JSONException@RolesAllowed(value="users") public javax.ws.rs.core.Response getStatus(String userId) throws org.json.JSONException
org.json.JSONException@RolesAllowed(value="users") @Deprecated public javax.ws.rs.core.Response setStatus(String userId, String status) throws org.json.JSONException
org.json.JSONException@RolesAllowed(value="users") public javax.ws.rs.core.Response setStatus(String status) throws org.json.JSONException
org.json.JSONExceptionCopyright © 2003–2015 eXo Platform SAS. All rights reserved.