Class RestrictedRole
java.lang.Object
com.broadleafcommerce.customer.domain.RestrictedRole
- All Implemented Interfaces:
Serializable
Represent a role a user has access to only within specific segment(s) of data. The segment(s) are
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 booleanbooleanRepresents the restriction on a restricted entity.The id of the role that is restricted to the defined segment(s).inthashCode()voidsetRestriction(AccessRestriction restriction) Represents the restriction on a restricted entity.voidThe id of the role that is restricted to the defined segment(s).toString()
-
Constructor Details
-
RestrictedRole
public RestrictedRole()
-
-
Method Details
-
getRestriction
Represents the restriction on a restricted entity. -
getRoleId
The id of the role that is restricted to the defined segment(s). -
setRestriction
Represents the restriction on a restricted entity. -
setRoleId
The id of the role that is restricted to the defined segment(s). -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-