Class RestrictedPermission

java.lang.Object
com.broadleafcommerce.customer.domain.RestrictedPermission
All Implemented Interfaces:
Serializable

public class RestrictedPermission extends Object implements Serializable
Represent a permission a user has access to only within specific segment(s) of data. The segment(s) are defined within AccessRestriction.
Since:
Customer Services 2.1.0, Release Train 2.3.0
Author:
karanjariwala
See Also:
  • Constructor Details

    • RestrictedPermission

      public RestrictedPermission()
  • Method Details

    • getRestriction

      public AccessRestriction getRestriction()
      Represents the restriction on a restricted entity.
    • getPermissionId

      public String getPermissionId()
      The id of the permission that is restricted to the defined segment(s).
    • setRestriction

      public void setRestriction(AccessRestriction restriction)
      Represents the restriction on a restricted entity.
    • setPermissionId

      public void setPermissionId(String permissionId)
      The id of the permission that is restricted to the defined segment(s).
    • 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