Class PreferencesResource

java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.client.impl.preferences.PreferencesResource
All Implemented Interfaces:
RestResource

@Path("/client/preferences") public class PreferencesResource extends AbstractRestResource
  • Field Details

  • Constructor Details

  • Method Details

    • getAllPreferences

      @GET @Produces("application/json") public PreferencesBean getAllPreferences()
    • getPreferences

      @GET @Path("/{key}") @Produces("application/json") public PreferencesBean getPreferences(@PathParam("key") String key)
    • setPreferences

      @PATCH public javax.ws.rs.core.Response setPreferences(UpdatePreferencesBean updateBean)
    • deletePreferences

      @DELETE @Path("/{key}") public javax.ws.rs.core.Response deletePreferences(@PathParam("key") String key)