Class RestrictedRole
- java.lang.Object
-
- com.broadleafcommerce.auth.resource.domain.RestrictedRole
-
- All Implemented Interfaces:
Serializable
public class RestrictedRole extends Object implements Serializable
Represent a role a user has access to only within specific segment(s) of data. The segment(s) are defined withingetRestriction()
.- Author:
- Sunny Yu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestrictedRole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object businessInstance)
Restriction
getRestriction()
Represents the restriction on this role.UserRoleRef
getRole()
Represents the role that is being restricted.int
hashCode()
void
setRestriction(Restriction restriction)
Represents the restriction on this role.void
setRole(UserRoleRef role)
Represents the role that is being restricted.String
toString()
-
-
-
Method Detail
-
getRestriction
public Restriction getRestriction()
Represents the restriction on this role.
-
getRole
public UserRoleRef getRole()
Represents the role that is being restricted.
-
setRestriction
public void setRestriction(Restriction restriction)
Represents the restriction on this role.
-
setRole
public void setRole(UserRoleRef role)
Represents the role that is being restricted.
-
-