Class AccountUserManuallyCreatedEvent
java.lang.Object
com.broadleafcommerce.auth.user.messaging.AccountUserManuallyCreatedEvent
- All Implemented Interfaces:
Serializable
Represents an event that an account user has been manually created by another account user, as
opposed to being created by the system itself through the account invite flow.
This event is used specifically for the Account User Creation flow where a net-new Customer is created and added to the account at the same time, without going through the account invite flow.
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe id of the account this account user was created for.The list of account role ids that this user should be assigned to.Additional custom information.The customer that was created to represent this account user.The restricted permissions that this account user has.The restricted roles that this account user has.The restrictions that this account user has.inthashCode()booleanisActive()Whether or not this user should be active.voidsetAccountId(String accountId) The id of the account this account user was created for.voidsetAccountRoleIds(List<String> accountRoleIds) The list of account role ids that this user should be assigned to.voidsetActive(boolean active) Whether or not this user should be active.voidsetAttributes(Map<String, Object> attributes) Additional custom information.voidsetCreatedCustomer(Customer createdCustomer) The customer that was created to represent this account user.voidsetRestrictedPermissions(Set<RestrictedPermission> restrictedPermissions) The restricted permissions that this account user has.voidsetRestrictedRoles(Set<RestrictedRole> restrictedRoles) The restricted roles that this account user has.voidsetRestrictions(Set<Restriction> restrictions) The restrictions that this account user has.toString()
-
Constructor Details
-
AccountUserManuallyCreatedEvent
public AccountUserManuallyCreatedEvent()
-
-
Method Details
-
getCreatedCustomer
The customer that was created to represent this account user. -
isActive
public boolean isActive()Whether or not this user should be active. -
getAccountId
The id of the account this account user was created for. -
getAccountRoleIds
The list of account role ids that this user should be assigned to. -
getRestrictions
The restrictions that this account user has.- See Also:
-
getRestrictedRoles
The restricted roles that this account user has.- See Also:
-
getRestrictedPermissions
The restricted permissions that this account user has.- See Also:
-
getAttributes
Additional custom information. -
setCreatedCustomer
The customer that was created to represent this account user. -
setActive
public void setActive(boolean active) Whether or not this user should be active. -
setAccountId
The id of the account this account user was created for. -
setAccountRoleIds
The list of account role ids that this user should be assigned to. -
setRestrictions
The restrictions that this account user has.- See Also:
-
setRestrictedRoles
The restricted roles that this account user has.- See Also:
-
setRestrictedPermissions
The restricted permissions that this account user has.- See Also:
-
setAttributes
Additional custom information. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-