Class AdminRestrictedPermission
- java.lang.Object
-
- com.broadleafcommerce.auth.user.listener.domain.AdminRestrictedPermission
-
- All Implemented Interfaces:
Serializable
public class AdminRestrictedPermission extends Object implements Serializable
Specific messaging contract for restricted permission references by entities.- Author:
- Nick Crum (ncrum)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdminRestrictedPermission()
AdminRestrictedPermission(String permission, String restrictionType, Set<String> restrictionTargets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getPermission()
The id of the permission that is being restricted.Set<String>
getRestrictionTargets()
Represents the targets of the restriction.String
getRestrictionType()
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.String
toString()
-
-
-
Method Detail
-
getPermission
public String getPermission()
The id of the permission that is being restricted.
-
getRestrictionType
public String getRestrictionType()
Represents the type of the restriction.
-
getRestrictionTargets
public Set<String> getRestrictionTargets()
Represents the targets of the restriction.
-
setPermission
public void setPermission(String permission)
The id of the permission that is being restricted.
-
setRestrictionType
public void setRestrictionType(String restrictionType)
Represents the type of the restriction.
-
setRestrictionTargets
public void setRestrictionTargets(Set<String> restrictionTargets)
Represents the targets of the restriction.
-
canEqual
protected boolean canEqual(Object other)
-
-