Class TemplateEntityResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.client.impl.template.TemplateEntityResource
- All Implemented Interfaces:
RestResource
@Path("/templates/{templateEntityName}")
public class TemplateEntityResource
extends AbstractRestResource
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetForms
(String templateEntityName, EntitySelectionBean selectionBean) void
setTemplateEntityConditions
(List<TemplateEntityConditionContribution> contributions) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
TemplateEntityResource
-
-
Method Details
-
setTemplateEntityConditions
@Autowired(required=false) public void setTemplateEntityConditions(List<TemplateEntityConditionContribution> contributions) -
getForms
@POST @Consumes("application/json") @Produces("application/json") public TemplateEntityResource.TemplateEntityBeans getForms(@PathParam("templateEntityName") String templateEntityName, EntitySelectionBean selectionBean)
-