Class UserCreationEvent

java.lang.Object
com.broadleafcommerce.auth.user.messaging.UserCreationEvent
All Implemented Interfaces:
Serializable

public class UserCreationEvent extends Object implements Serializable
A message event dispatched when a user is registered within the system. This event can be listened to in other systems in order to facilitate behavior in response to a newly registered user.
Author:
Nick Crum (ncrum)
See Also:
  • Constructor Details

    • UserCreationEvent

      public UserCreationEvent()
  • Method Details

    • getUser

      public User getUser()
    • isPreview

      public boolean isPreview()
      Indicates whether the user was created from a preview context.
    • getAttributes

      public Map<String,Object> getAttributes()
      Additional custom information that was provided as part of the user registration process.

      Client implementations may choose to populate and utilize this field for custom behavior.

      See Also:
      • UserRegistration.attributes
    • setUser

      public void setUser(User user)
    • setPreview

      public void setPreview(boolean preview)
      Indicates whether the user was created from a preview context.
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Additional custom information that was provided as part of the user registration process.

      Client implementations may choose to populate and utilize this field for custom behavior.

      See Also:
      • UserRegistration.attributes
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object