Class AccountUserManuallyCreatedEvent
java.lang.Object
com.broadleafcommerce.customer.messaging.domain.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.
- Since:
- Customer Services 2.1.0, Release Train 2.3.0
- 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 that was provided as part of the user registration process.The customer that was created to represent this account user.The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.The data restrictions that control the data this user is permitted to access.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 that was provided as part of the user registration process.voidsetCreatedCustomer(Customer createdCustomer) The customer that was created to represent this account user.voidsetRestrictedPermissions(List<RestrictedPermission> restrictedPermissions) The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.voidsetRestrictedRoles(List<RestrictedRole> restrictedRoles) The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.voidsetRestrictions(List<AccessRestriction> restrictions) The data restrictions that control the data this user is permitted to access.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 data restrictions that control the data this user is permitted to access. -
getRestrictedRoles
The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data. -
getRestrictedPermissions
The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data. -
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.
-
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 data restrictions that control the data this user is permitted to access. -
setRestrictedRoles
The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data. -
setRestrictedPermissions
The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data. -
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.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-