Package ch.tocco.nice2.widget.impl.rest
Class WidgetShowcaseResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.widget.impl.rest.WidgetShowcaseResource
- All Implemented Interfaces:
RestResource
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static class
static class
static final record
static final record
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionWidgetShowcaseResource
(Context context, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, RunEnvironmentService runEnvironmentService) -
Method Summary
Modifier and TypeMethodDescriptionisConfiguredCondition
(String widgetName) loadShowcaseData
(String key) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
WidgetShowcaseResource
public WidgetShowcaseResource(Context context, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, RunEnvironmentService runEnvironmentService)
-
-
Method Details
-
loadWidgets
@Path("widgets") @GET @Produces("application/json") public WidgetShowcaseResource.WidgetsBean loadWidgets() -
loadShowcaseData
@Path("widgets/{key}") @GET @Produces("application/json") public WidgetShowcaseResource.WidgetShowcaseData loadShowcaseData(@PathParam("key") String key) -
checkAccess
@Path("checkAccess") @GET @Produces("application/json") public WidgetShowcaseResource.CheckAccessBean checkAccess() -
isConfiguredCondition
-