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:
UserRegistrationProducer
,DefaultUserRegistrationService
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserCreationEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<String,Object>
getAttributes()
Additional custom information that was provided as part of the user registration process.User
getUser()
int
hashCode()
boolean
isPreview()
Indicates whether the user was created from a preview context.void
setAttributes(Map<String,Object> attributes)
Additional custom information that was provided as part of the user registration process.void
setPreview(boolean preview)
Indicates whether the user was created from a preview context.void
setUser(User user)
String
toString()
-
-
-
Method Detail
-
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
-
canEqual
protected boolean canEqual(Object other)
-
-