Class RestrictedPermission

java.lang.Object
com.broadleafcommerce.auth.resource.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 getRestriction().
Author:
Nick Crum (ncrum)
See Also:
  • Constructor Details

    • RestrictedPermission

      public RestrictedPermission()
  • Method Details

    • equals

      public boolean equals(Object businessInstance)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getRestriction

      public Restriction getRestriction()
      Represents the restriction on this permission.
    • getPermission

      public UserPermissionRef getPermission()
      Represents the permission that is being restricted.
    • setRestriction

      public void setRestriction(Restriction restriction)
      Represents the restriction on this permission.
    • setPermission

      public void setPermission(UserPermissionRef permission)
      Represents the permission that is being restricted.
    • toString

      public String toString()
      Overrides:
      toString in class Object