Class MultiCountResource

java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.client.impl.multicount.MultiCountResource
All Implemented Interfaces:
RestResource

@Path("/client/entities/{name}/{pk}/relations") public class MultiCountResource extends AbstractRestResource
  • Constructor Details

  • Method Details

    • getRelationCount

      @GET @Produces("application/json") public MultiCountBean getRelationCount(@PathParam("name") String modelName, @PathParam("pk") String pk)
    • setCustomRelationCounters

      @Autowired public void setCustomRelationCounters(List<CustomRelationCounter> customRelationCounters)