Class AccountUserManuallyCreatedEvent

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

public class AccountUserManuallyCreatedEvent extends Object implements 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 Details

    • AccountUserManuallyCreatedEvent

      public AccountUserManuallyCreatedEvent()
  • Method Details

    • getCreatedCustomer

      public Customer getCreatedCustomer()
      The customer that was created to represent this account user.
    • isActive

      public boolean isActive()
      Whether or not this user should be active.
    • getAccountId

      public String getAccountId()
      The id of the account this account user was created for.
    • getAccountRoleIds

      public List<String> getAccountRoleIds()
      The list of account role ids that this user should be assigned to.
    • getRestrictions

      public Set<Restriction> getRestrictions()
      The restrictions that this account user has.
      See Also:
    • getRestrictedRoles

      public Set<RestrictedRole> getRestrictedRoles()
      The restricted roles that this account user has.
      See Also:
    • getRestrictedPermissions

      public Set<RestrictedPermission> getRestrictedPermissions()
      The restricted permissions that this account user has.
      See Also:
    • getAttributes

      public Map<String,Object> getAttributes()
      Additional custom information.
    • setCreatedCustomer

      public void setCreatedCustomer(Customer createdCustomer)
      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

      public void setAccountId(String accountId)
      The id of the account this account user was created for.
    • setAccountRoleIds

      public void setAccountRoleIds(List<String> accountRoleIds)
      The list of account role ids that this user should be assigned to.
    • setRestrictions

      public void setRestrictions(Set<Restriction> restrictions)
      The restrictions that this account user has.
      See Also:
    • setRestrictedRoles

      public void setRestrictedRoles(Set<RestrictedRole> restrictedRoles)
      The restricted roles that this account user has.
      See Also:
    • setRestrictedPermissions

      public void setRestrictedPermissions(Set<RestrictedPermission> restrictedPermissions)
      The restricted permissions that this account user has.
      See Also:
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Additional custom information.
    • 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