Class AdminRestrictedRole
java.lang.Object
com.broadleafcommerce.auth.user.listener.domain.AdminRestrictedRole
- All Implemented Interfaces:
Serializable
Specific messaging contract for restricted role references by entities.
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
ConstructorDescriptionAdminRestrictedRole
(String role, String restrictionType, Set<String> restrictionTargets) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Represents the targets of the restriction.Represents the type of the restriction.getRole()
id of the role that is being restricted.int
hashCode()
void
setRestrictionTargets
(Set<String> restrictionTargets) Represents the targets of the restriction.void
setRestrictionType
(String restrictionType) Represents the type of the restriction.void
id of the role that is being restricted.toString()
-
Constructor Details
-
AdminRestrictedRole
-
AdminRestrictedRole
public AdminRestrictedRole()
-
-
Method Details
-
getRole
id of the role that is being restricted. -
getRestrictionType
Represents the type of the restriction. -
getRestrictionTargets
Represents the targets of the restriction. -
setRole
id of the role that is being restricted. -
setRestrictionType
Represents the type of the restriction. -
setRestrictionTargets
Represents the targets of the restriction. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-