Class MarkingsResource

java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.marking.impl.rest.MarkingsResource
All Implemented Interfaces:
RestResource

@Path("/client/markings") public class MarkingsResource extends AbstractRestResource
  • Constructor Details

  • Method Details

    • getOrSetMarkings

      @POST @Produces("application/json") @Consumes("application/json") public MarkingsBean getOrSetMarkings(MarkingsRequestBean requestBean)
    • getMarked

      @GET @Produces("application/json") @Path("/{entityName}/{entityKey}") public MarkedBean getMarked(@PathParam("entityName") String entityName, @PathParam("entityKey") String entityKey)
    • setMarked

      @PATCH @Produces("application/json") @Path("/{entityName}/{entityKey}") public void setMarked(@PathParam("entityName") String entityName, @PathParam("entityKey") String entityKey, MarkedBean markedBean)