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 Details

    • registerUser

      @Deprecated P registerUser(UserRegistration registration, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
      Create 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 registration
      context - ignored
      Returns:
      the created user
      Throws:
      com.broadleafcommerce.common.error.validation.ValidationException - if there were any validation failures
      See Also:
    • registerUser

      P registerUser(UserRegistration registration)
      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

      P registerUser(UserRegistration registration, boolean isEmbedded)
      Create and registers a new user from the given registration
      Parameters:
      registration - what the user filled out as their registration
      isEmbedded - 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: