Class RestrictedPermission
- java.lang.Object
-
- com.broadleafcommerce.auth.resource.domain.RestrictedPermission
-
- All Implemented Interfaces:
Serializable
public class RestrictedPermission extends Object implements Serializable
Represent a permission a user has access to only within specific segment(s) of data. The segment(s) are defined withingetRestriction().- Author:
- Nick Crum (ncrum)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestrictedPermission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object businessInstance)UserPermissionRefgetPermission()Represents the permission that is being restricted.RestrictiongetRestriction()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.StringtoString()
-
-
-
Method Detail
-
getRestriction
public Restriction getRestriction()
Represents the restriction on this permission.
-
getPermission
public UserPermissionRef getPermission()
Represents the permission that is being restricted.
-
setRestriction
public void setRestriction(Restriction restriction)
Represents the restriction on this permission.
-
setPermission
public void setPermission(UserPermissionRef permission)
Represents the permission that is being restricted.
-
-