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 SummaryFields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResourceuriInfo
- 
Constructor SummaryConstructorsConstructorDescriptionFormResource(FormBeanService formBeanService, FormEditActionService formEditActionService) 
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.jakarta.ws.rs.core.ResponseresetSearchFormFields(String baseName) jakarta.ws.rs.core.ResponsesetSearchFormFields(String baseName, SearchFormFieldsBean searchFormFieldsBean) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResourcegetPathParameter, 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) 
 
-