Class AccountMemberRestrictionUpdateEvent

java.lang.Object
com.broadleafcommerce.customer.service.bulk.AccountMemberRestrictionUpdateEvent
All Implemented Interfaces:
Serializable

public class AccountMemberRestrictionUpdateEvent extends Object implements Serializable
The event emitted to notify Authentication service of changes in the restrictions of an account member.
Since:
Customer Services 2.1.0, Release Train 2.3.0
Author:
karanjariwala
See Also:
  • Constructor Details

    • AccountMemberRestrictionUpdateEvent

      public AccountMemberRestrictionUpdateEvent()
  • Method Details

    • getUserId

      public String getUserId()
      The userId of the account member.
    • getAccountId

      public String getAccountId()
      The accountId of the account member.
    • getRestrictions

      public List<AccessRestriction> getRestrictions()
      The data restrictions that control the data this user is permitted to access.
    • getRestrictedPermissions

      public List<RestrictedPermission> getRestrictedPermissions()
      The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.
    • getRestrictedRoles

      public List<RestrictedRole> getRestrictedRoles()
      The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.
    • getAttributes

      public Map<String,Object> getAttributes()
      Additional attributes that are used to describe the account member
    • setUserId

      public void setUserId(String userId)
      The userId of the account member.
    • setAccountId

      public void setAccountId(String accountId)
      The accountId of the account member.
    • setRestrictions

      public void setRestrictions(List<AccessRestriction> restrictions)
      The data restrictions that control the data this user is permitted to access.
    • setRestrictedPermissions

      public void setRestrictedPermissions(List<RestrictedPermission> restrictedPermissions)
      The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.
    • setRestrictedRoles

      public void setRestrictedRoles(List<RestrictedRole> restrictedRoles)
      The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Additional attributes that are used to describe the account member
    • 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