Class AdminRestrictedPrivilege

java.lang.Object
com.broadleafcommerce.adminuser.resource.domain.AdminRestrictedPrivilege
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdminRestrictedPermission, AdminRestrictedRole

public class AdminRestrictedPrivilege extends Object implements Serializable
Represents a privilege that is restricted by a given restriction. Having this as superclass helps with the process of validation and restrictiveness comparisons.
See Also:
  • Constructor Details

    • AdminRestrictedPrivilege

      public AdminRestrictedPrivilege()
  • Method Details

    • getRestriction

      public AdminRestriction getRestriction()
      Represents the restriction on a restricted entity
    • setRestriction

      public void setRestriction(AdminRestriction restriction)
      Represents the restriction on a restricted entity
    • 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