public class UserStateServiceREST extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
UserStateServiceREST(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() |
public UserStateServiceREST(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–2020 eXo Platform SAS. All rights reserved.