Class AdminRestrictedPermission
java.lang.Object
com.broadleafcommerce.auth.user.listener.domain.AdminRestrictedPermission
- All Implemented Interfaces:
Serializable
Specific messaging contract for restricted permission references by entities.
- Author:
- Nick Crum (ncrum)
- See Also:
-
Constructor Summary
ConstructorDescriptionAdminRestrictedPermission
(String permission, String restrictionType, Set<String> restrictionTargets) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The id of the permission that is being restricted.Represents the targets of the restriction.Represents the type of the restriction.int
hashCode()
void
setPermission
(String permission) The id of the permission that is being restricted.void
setRestrictionTargets
(Set<String> restrictionTargets) Represents the targets of the restriction.void
setRestrictionType
(String restrictionType) Represents the type of the restriction.toString()
-
Constructor Details
-
AdminRestrictedPermission
-
AdminRestrictedPermission
public AdminRestrictedPermission()
-
-
Method Details
-
getPermission
The id of the permission that is being restricted. -
getRestrictionType
Represents the type of the restriction. -
getRestrictionTargets
Represents the targets of the restriction. -
setPermission
The id of the permission 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
-