Class UserCreationEvent
java.lang.Object
com.broadleafcommerce.auth.user.messaging.UserCreationEvent
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Additional custom information that was provided as part of the user registration process.getUser()
int
hashCode()
boolean
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
toString()
-
Constructor Details
-
UserCreationEvent
public UserCreationEvent()
-
-
Method Details
-
getUser
-
isPreview
public boolean isPreview()Indicates whether the user was created from a preview context. -
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
-
setPreview
public void setPreview(boolean preview) Indicates whether the user was created from a preview context. -
setAttributes
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-