Class ItemsRestService

Object
ItemsRestService

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

    • ItemsRestService

      public ItemsRestService()
  • Method Details

    • create

      @POST @Consumes("application/json") public void create(String json)
    • remove

      @DELETE @Path("{id}") public void remove(@PathParam("id") Integer id)
    • find

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