Class MembershipRegistrationResource
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.membership.impl.widgets.MembershipRegistrationResource
- All Implemented Interfaces:
RestResource
@Path("/widgets/membershipRegistration")
public class MembershipRegistrationResource
extends AbstractEntitiesResource
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
-
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
ConstructorDescriptionMembershipRegistrationResource
(Context context, EntityBeanRebinder entityBeanRebinder, ValidationResultConverter validationResultConverter, RestSearchService restSearchService, SecurityManager securityManager, L10N l10N, MailFactory mailFactory, EmailTemplateLoadService emailTemplateLoadService, WidgetConfigService widgetConfigService, EntityDefaultValueService entityDefaultValueService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Locale
jakarta.ws.rs.core.Response
void
void
setMembershipRegistrationNonConceptionRelations
(List<String> membershipRegistrationNonConceptionRelations) void
setMembershipRegistrationResourceExtension
(MembershipRegistrationResourceExtension membershipRegistrationResourceExtension) jakarta.ws.rs.core.Response
validateCreate
(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
-
MembershipRegistrationResource
public MembershipRegistrationResource(Context context, EntityBeanRebinder entityBeanRebinder, ValidationResultConverter validationResultConverter, RestSearchService restSearchService, SecurityManager securityManager, L10N l10N, MailFactory mailFactory, EmailTemplateLoadService emailTemplateLoadService, WidgetConfigService widgetConfigService, EntityDefaultValueService entityDefaultValueService)
-
-
Method Details
-
validateCreate
@POST @Path("/validate") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response validateCreate(EntityBean data) -
register
@POST @Path("/register") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response register(MembershipRegistrationResource.MembershipRegistrationData data) -
getLocale
-
setAllowedPaths
-
setMembershipRegistrationNonConceptionRelations
-
setMembershipRegistrationResourceExtension
@Autowired(required=false) public void setMembershipRegistrationResourceExtension(MembershipRegistrationResourceExtension membershipRegistrationResourceExtension)
-