Package ch.tocco.nice2.widget.impl.terms
Class TermsConditionResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.widget.impl.terms.TermsConditionResource
- All Implemented Interfaces:
RestResource
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionTermsConditionResource
(Context context, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionloadTerms
(String type, TermsConditionResource.TermsRequestData data) void
setTermsConditionResolvers
(List<TermsConditionResolver> termsConditionResolvers) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
TermsConditionResource
public TermsConditionResource(Context context, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager)
-
-
Method Details
-
loadTerms
@POST @Path("/load") @Produces("application/json") public TermsConditionResource.TermsData loadTerms(@PathParam("type") String type, TermsConditionResource.TermsRequestData data) -
setTermsConditionResolvers
@Autowired(required=false) public void setTermsConditionResolvers(List<TermsConditionResolver> termsConditionResolvers)
-