Class Restriction
java.lang.Object
com.broadleafcommerce.auth.resource.domain.Restriction
- All Implemented Interfaces:
Serializable
A DTO used to represent a restriction on the data in which a user has access.
- Author:
- Nick Crum (ncrum)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Represents the targets of the restriction.getType()
Represents the type of the restriction.int
hashCode()
void
setTargets
(Set<String> targets) Represents the targets of the restriction.void
Represents the type of the restriction.toString()
-
Constructor Details
-
Restriction
public Restriction()
-
-
Method Details
-
getType
Represents the type of the restriction. -
getTargets
Represents the targets of the restriction. -
setType
Represents the type of the restriction. -
setTargets
Represents the targets of the restriction. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-