Package org.exoplatform.services.user
Class UserStateServiceREST
- java.lang.Object
-
- org.exoplatform.services.user.UserStateServiceREST
-
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
public class UserStateServiceREST extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
-
-
Constructor Summary
Constructors Constructor Description UserStateServiceREST(UserStateService userService)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetStatus(String userId)javax.ws.rs.core.Responseonline()javax.ws.rs.core.ResponsesetStatus(String status)javax.ws.rs.core.ResponsesetStatus(String userId, String status)Deprecated.javax.ws.rs.core.ResponseupdateState()
-
-
-
Constructor Detail
-
UserStateServiceREST
public UserStateServiceREST(UserStateService userService)
-
-
Method Detail
-
updateState
@RolesAllowed("users") public javax.ws.rs.core.Response updateState()
-
online
@RolesAllowed("users") public javax.ws.rs.core.Response online() throws ParserConfigurationException, org.json.JSONException- Throws:
ParserConfigurationExceptionorg.json.JSONException
-
getStatus
@RolesAllowed("users") public javax.ws.rs.core.Response getStatus(String userId) throws org.json.JSONException- Throws:
org.json.JSONException
-
setStatus
@RolesAllowed("users") @Deprecated public javax.ws.rs.core.Response setStatus(String userId, String status) throws org.json.JSONExceptionDeprecated.- Throws:
org.json.JSONException
-
setStatus
@RolesAllowed("users") public javax.ws.rs.core.Response setStatus(String status) throws org.json.JSONException- Throws:
org.json.JSONException
-
-