Class EvaluationQualificationResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.optional.qualification.impl.resources.api.EvaluationQualificationResource
- All Implemented Interfaces:
RestResource
@Path("/qualification/evaluation/{evaluationKey}")
public class EvaluationQualificationResource
extends AbstractRestResource
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionEvaluationQualificationResource
(ResourceBeanService resourceBeanService, QualificationEvaluationService qualificationEvaluationService, Context context) -
Method Summary
Modifier and TypeMethodDescriptionloadEvaluation
(String evaluationKey) loadParticipantEvaluation
(String evaluationKey, String participantKey) loadStructure
(String evaluationKey) runEvaluation
(String evaluationKey) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
EvaluationQualificationResource
public EvaluationQualificationResource(ResourceBeanService resourceBeanService, QualificationEvaluationService qualificationEvaluationService, Context context)
-
-
Method Details
-
loadEvaluation
@GET @Produces("application/json") public EvaluationBean loadEvaluation(@PathParam("evaluationKey") String evaluationKey) -
loadStructure
@GET @Path("/structure") @Produces("application/json") public StructureBean loadStructure(@PathParam("evaluationKey") String evaluationKey) -
loadParticipantEvaluation
@GET @Path("/participant/{participantKey}") @Produces("application/json") public ParticipantBean loadParticipantEvaluation(@PathParam("evaluationKey") String evaluationKey, @PathParam("participantKey") String participantKey) -
runEvaluation
@POST @Produces("application/json") public EvaluationBean runEvaluation(@PathParam("evaluationKey") String evaluationKey)
-