Class AdminRestriction

java.lang.Object
com.broadleafcommerce.adminuser.resource.domain.AdminRestriction
All Implemented Interfaces:
Serializable

public class AdminRestriction extends Object implements Serializable
A DTO used to represent a restriction on the data in which a user or role has access.
Author:
Nick Crum (ncrum)
See Also:
  • Constructor Details

    • AdminRestriction

      public AdminRestriction()
  • Method Details

    • getType

      public String getType()
      Represents the type of the restriction.
    • getTargets

      public Set<String> getTargets()
      Represents the targets of the restriction.
    • setType

      public void setType(String type)
      Represents the type of the restriction.
    • setTargets

      public void setTargets(Set<String> targets)
      Represents the targets of the restriction.
    • 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