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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRepresents the permission that is being restricted.Represents the restriction on this permission.inthashCode()voidsetPermission(UserPermissionRef permission) Represents the permission that is being restricted.voidsetRestriction(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
-