Package ch.tocco.nice2.widget.impl.rest
Class SpecificWidgetConfigResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.widget.impl.rest.SpecificWidgetConfigResource
- All Implemented Interfaces:
RestResource
@Path("/widget/configs/{key}/specific-config")
public class SpecificWidgetConfigResource
extends AbstractRestResource
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionSpecificWidgetConfigResource
(DataModel dataModel, PersistenceService persistenceService) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
linkSpecificEntityId
(String key, WidgetEntityIdBean widgetEntityIdBean) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
SpecificWidgetConfigResource
-
-
Method Details
-
getSpecificEntityId
@GET @Produces("application/json") public WidgetEntityIdBean getSpecificEntityId(@PathParam("key") String key) -
linkSpecificEntityId
@PUT @Consumes("application/json") public jakarta.ws.rs.core.Response linkSpecificEntityId(@PathParam("key") String key, WidgetEntityIdBean widgetEntityIdBean)
-