Class FormResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.form.impl.resources.FormResource
- All Implemented Interfaces:
RestResource
This resource provides a single form.
Resource is mapped to "/forms/{name}".
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionFormResource
(FormBeanService formBeanService, FormEditActionService formEditActionService) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.jakarta.ws.rs.core.Response
resetSearchFormFields
(String baseName) jakarta.ws.rs.core.Response
setSearchFormFields
(String baseName, SearchFormFieldsBean searchFormFieldsBean) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
FormResource
-
-
Method Details
-
getForm
@GET @Deprecated(forRemoval=true) @Produces("application/json") public FormBean getForm(@PathParam("name") String name, @QueryParam("_display") boolean computeDisplays) Deprecated, for removal: This API element is subject to removal in a future version. -
getForm
-
setSearchFormFields
@POST @Path("/search-fields") @Consumes("application/json") public jakarta.ws.rs.core.Response setSearchFormFields(@PathParam("name") String baseName, SearchFormFieldsBean searchFormFieldsBean) -
resetSearchFormFields
@POST @Path("/search-fields/reset") public jakarta.ws.rs.core.Response resetSearchFormFields(@PathParam("name") String baseName)
-