Class RestrictedPermission
java.lang.Object
com.broadleafcommerce.auth.resource.domain.RestrictedPermission
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Represents the permission that is being restricted.Represents the restriction on this permission.int
hashCode()
void
setPermission
(UserPermissionRef permission) Represents the permission that is being restricted.void
setRestriction
(Restriction restriction) Represents the restriction on this permission.toString()
-
Constructor Details
-
RestrictedPermission
public RestrictedPermission()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getRestriction
Represents the restriction on this permission. -
getPermission
Represents the permission that is being restricted. -
setRestriction
Represents the restriction on this permission. -
setPermission
Represents the permission that is being restricted. -
toString
-