Class AttributesRestService

Object
AttributesRestService

@DeclareRoles("deputy") @RolesAllowed("deputy") @Path("/administration/attributes") public class AttributesRestService extends Object
Author:
maartenl
  • Constructor Details

    • AttributesRestService

      public AttributesRestService()
  • Method Details

    • edit

      @PUT @Path("byType/{type}/{objectid}") @Consumes("application/json") public void edit(@PathParam("type") String type, @PathParam("objectid") String objectid, String json)
    • remove

      @DELETE @Path("byId/{type}/{id}") @Consumes("application/json") public void remove(@PathParam("type") String type, @PathParam("id") Long id)
    • remove

      @DELETE @Path("byName/{name}") @Consumes("application/json") public void remove(@PathParam("name") String name)
    • find

      @GET @Path("byType/{type}/{objectid}") @Produces("application/json") public String find(@PathParam("type") String type, @PathParam("objectid") String objectid)
    • find

      @GET @Path("byName/{name}") @Produces("application/json") public String find(@PathParam("name") String name)