Class EntitiesDisplayResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entity.impl.resources.entities.EntitiesDisplayResource
- All Implemented Interfaces:
RestResource
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionEntitiesDisplayResource
(RestDefaultDisplayService restDefaultDisplayService) -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultDisplay
(EntityIdArgumentBean entities) getDisplay
(EntityIdArgumentBean entities, String type) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
EntitiesDisplayResource
-
-
Method Details
-
getDefaultDisplay
@POST @Consumes("application/json") @Produces("application/json") public DisplayResultBean getDefaultDisplay(EntityIdArgumentBean entities) -
getDisplay
@POST @Path("{type}") @Consumes("application/json") @Produces("application/json") public DisplayResultBean getDisplay(EntityIdArgumentBean entities, @PathParam("type") String type)
-