Interface UserRegistrationService<P extends User>
- All Known Implementing Classes:
DefaultUserRegistrationService
public interface UserRegistrationService<P extends User>
Registers new users into the user data store
- Author:
- Phillip Verheyden (phillipuniverse)
-
Method Summary
Modifier and TypeMethodDescriptionregisterUser
(UserRegistration registration) Create and registers a new user from the given registration.registerUser
(UserRegistration registration, boolean isEmbedded) Create and registers a new user from the given registrationregisterUser
(UserRegistration registration, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Deprecated.
-
Method Details
-
registerUser
@Deprecated P registerUser(UserRegistration registration, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Deprecated.in favor ofregisterUser(com.broadleafcommerce.auth.user.api.dto.UserRegistration, com.broadleafcommerce.data.tracking.core.context.ContextInfo)
, as context is no longer a requirementCreate and registers a new user from the given registration Deprecated because ContextInfo parameter is now ignored- Parameters:
registration
- what the user filled out as their registrationcontext
- ignored- Returns:
- the created user
- Throws:
com.broadleafcommerce.common.error.validation.ValidationException
- if there were any validation failures- See Also:
-
registerUser
Create and registers a new user from the given registration. Assumes this is for a Universal Login type registration form rather than embedded.- Parameters:
registration
- what the user filled out as their registration- Returns:
- the created user
- Throws:
com.broadleafcommerce.common.error.validation.ValidationException
- if there were any validation failures- See Also:
-
registerUser
Create and registers a new user from the given registration- Parameters:
registration
- what the user filled out as their registrationisEmbedded
- Whether this is a request from an embedded form- Returns:
- the created user
- Throws:
com.broadleafcommerce.common.error.validation.ValidationException
- if there were any validation failures- See Also:
-
registerUser(com.broadleafcommerce.auth.user.api.dto.UserRegistration, com.broadleafcommerce.data.tracking.core.context.ContextInfo)
, as context is no longer a requirement