Class InputQualificationResource

java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.optional.qualification.impl.resources.api.InputQualificationResource
All Implemented Interfaces:
RestResource

@Path("/qualification/input/{inputKey}") public class InputQualificationResource extends AbstractRestResource
  • Constructor Details

  • Method Details

    • loadInput

      @GET @Produces("application/json") public InputBean loadInput(@PathParam("inputKey") String inputKey)
    • loadStructure

      @GET @Path("/structure") @Produces("application/json") public StructureBean loadStructure(@PathParam("inputKey") String inputKey)
    • writeInput

      @POST @Produces("application/json") @Consumes("application/json") public InputBean writeInput(@PathParam("inputKey") String inputKey, List<DataBean> beans)
    • writeNodeInput

      @POST @Produces("application/json") @Consumes("application/json") @Path("/{node: (?!.*((participant)|(exams)|(thresholdValues)|(structure)))[^/]+}") public InputBean writeNodeInput(@PathParam("inputKey") String inputKey, @PathParam("node") String node, List<DataBean> beans)
    • loadParticipant

      @GET @Path("/participant/{participantKey}") @Produces("application/json") public ParticipantBean loadParticipant(@PathParam("inputKey") String inputKey, @PathParam("participantKey") String participantKey)
    • writeParticipant

      @POST @Path("/participant/{participantKey}") @Produces("application/json") @Consumes("application/json") public ParticipantBean writeParticipant(@PathParam("inputKey") String inputKey, @PathParam("participantKey") String participantKey, List<DataBean> beans)
    • writeNodeParticipant

      @POST @Path("/participant/{participantKey}/{node}") @Produces("application/json") @Consumes("application/json") public ParticipantBean writeNodeParticipant(@PathParam("inputKey") String inputKey, @PathParam("participantKey") String participantKey, @PathParam("node") String node, DataBean bean)
    • writeExams

      @POST @Path("/exams") @Produces("application/json") @Consumes("application/json") public List<ExamBean> writeExams(@PathParam("inputKey") String inputKey, List<ExamBean> beans)
    • writeThresholdValues

      @POST @Path("/thresholdValues") @Produces("application/json") @Consumes("application/json") public List<ThresholdValueBean> writeThresholdValues(@PathParam("inputKey") String inputKey, List<ThresholdValueBean> beans)