Class RestrictedPermission
java.lang.Object
com.broadleafcommerce.customer.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
AccessRestriction.- Since:
- Customer Services 2.1.0, Release Train 2.3.0
- Author:
- karanjariwala
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe id of the permission that is restricted to the defined segment(s).Represents the restriction on a restricted entity.inthashCode()voidsetPermissionId(String permissionId) The id of the permission that is restricted to the defined segment(s).voidsetRestriction(AccessRestriction restriction) Represents the restriction on a restricted entity.toString()
-
Constructor Details
-
RestrictedPermission
public RestrictedPermission()
-
-
Method Details
-
getRestriction
Represents the restriction on a restricted entity. -
getPermissionId
The id of the permission that is restricted to the defined segment(s). -
setRestriction
Represents the restriction on a restricted entity. -
setPermissionId
The id of the permission that is restricted to the defined segment(s). -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-