Class EntityModelResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entitymodel.spi.resources.EntityModelResource
- All Implemented Interfaces:
RestResource
This resource provides the model of a certain entity type.
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionEntityModelResource
(EntityModelService entityModelService, NiceDataModel dataModel) -
Method Summary
Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
EntityModelResource
-
-
Method Details
-
getModel
@GET @Produces("application/json") public EntityModelBean getModel(@PathParam("name") String modelName) -
resolvePath
@GET @Produces("application/json") @Path("/resolve") public EntityModelBean resolvePath(@PathParam("name") String modelName, @QueryParam("path") String path)
-