Class ValidationResource

java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entitymodel.impl.resources.ValidationResource
All Implemented Interfaces:
RestResource

@Path("/validation") public class ValidationResource extends AbstractRestResource
  • Constructor Details

  • Method Details

    • validate

      @POST @Produces("application/json") @Consumes("application/json") @Path("/{validatorType}") public ch.tocco.nice2.rest.entitymodel.impl.resources.ValidationResource.ValidationResultBean validate(@PathParam("validatorType") String validatorType, ch.tocco.nice2.rest.entitymodel.impl.resources.ValidationResource.ValidationRequestBean validationRequestBean)
    • setMaxCount

      @Value("${rest.paging.maxLimit}") public void setMaxCount(Long maxCount)