Class FunctionMutationWidgetResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entity.spi.entities.AbstractEntityValidationResource
ch.tocco.nice2.rest.entity.spi.entities.AbstractEntitiesResource
ch.tocco.nice2.optional.functionmutation.impl.rest.FunctionMutationWidgetResource
- All Implemented Interfaces:
RestResource
@Path("/widgets/functionMutation")
public class FunctionMutationWidgetResource
extends AbstractEntitiesResource
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.entity.spi.entities.AbstractEntitiesResource
context, entityBeanRebinder, restSearchService
Fields inherited from class ch.tocco.nice2.rest.entity.spi.entities.AbstractEntityValidationResource
validationResultConverter
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionFunctionMutationWidgetResource
(Context context, EntityBeanRebinder entityBeanRebinder, ValidationResultConverter validationResultConverter, RestSearchService restSearchService, WidgetConfigService widgetConfigService, PrincipalService principalService, SecurityManager securityManager, ConstrictionManager constrictionManager, QueryCompiler queryCompiler, QueryBuilderFactory queryBuilderFactory) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
create
(EntityBean data) void
setAllowedPaths
(List<String> paths) jakarta.ws.rs.core.Response
update
(EntityBean data) Methods inherited from class ch.tocco.nice2.rest.entity.spi.entities.AbstractEntitiesResource
getCount, getNameFromPath, getUriBuilder, isValidate, postCount, rebind, rebind, rebind, rebind, rebind
Methods inherited from class ch.tocco.nice2.rest.entity.spi.entities.AbstractEntityValidationResource
validateEntities, validateEntity
Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
FunctionMutationWidgetResource
public FunctionMutationWidgetResource(Context context, EntityBeanRebinder entityBeanRebinder, ValidationResultConverter validationResultConverter, RestSearchService restSearchService, WidgetConfigService widgetConfigService, PrincipalService principalService, SecurityManager securityManager, ConstrictionManager constrictionManager, QueryCompiler queryCompiler, QueryBuilderFactory queryBuilderFactory)
-
-
Method Details
-
update
@PATCH @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response update(EntityBean data) -
create
@POST @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response create(EntityBean data) -
setAllowedPaths
-