Class UserStateServiceREST

  • All Implemented Interfaces:
    org.exoplatform.services.rest.resource.ResourceContainer

    public class UserStateServiceREST
    extends Object
    implements org.exoplatform.services.rest.resource.ResourceContainer
    • Constructor Detail

      • UserStateServiceREST

        public UserStateServiceREST​(UserStateService userService)
    • Method Detail

      • updateState

        @RolesAllowed("users")
        public javax.ws.rs.core.Response updateState()
      • 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.JSONException
        Deprecated.
        Throws:
        org.json.JSONException
      • setStatus

        @RolesAllowed("users")
        public javax.ws.rs.core.Response setStatus​(String status)
                                            throws org.json.JSONException
        Throws:
        org.json.JSONException