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 boolean
equals(Object businessInstance)
UserPermissionRef
getPermission()
Represents the permission that is being restricted.Restriction
getRestriction()
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.String
toString()
-
-
-
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.
-
-