Class UserAccountServices

java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.core.deployment.UserAccountServices

@Singleton @Path("admin") public class UserAccountServices extends AbstractStepServices
  • Constructor Details

    • UserAccountServices

      public UserAccountServices()
  • Method Details

    • init

      @PostConstruct public void init() throws Exception
      Overrides:
      init in class AbstractStepServices
      Throws:
      Exception
    • getCurrentUser

      protected User getCurrentUser()
    • getMyUser

      @GET @Path("/myaccount") @Produces("application/json") public User getMyUser()
    • getPreferences

      @GET @Produces("application/json") @Path("/myaccount/preferences") public Preferences getPreferences()
    • putPreference

      @POST @Consumes("application/json") @Path("/myaccount/preferences/{id}") public void putPreference(@PathParam("id") String preferenceName, Object value)
    • putPreferences

      @POST @Consumes("application/json") @Path("/myaccount/preferences") public void putPreferences(Preferences preferences)