Class Restriction
java.lang.Object
com.broadleafcommerce.auth.resource.domain.Restriction
- All Implemented Interfaces:
Serializable
A DTO used to represent a restriction on the data in which a user has access.
- Author:
- Nick Crum (ncrum)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAccount id that this restricted permission is associated with.Represents the targets of the restriction.getType()Represents the type of the restriction.inthashCode()voidsetAccountId(String accountId) Account id that this restricted permission is associated with.voidsetTargets(Set<String> targets) Represents the targets of the restriction.voidRepresents the type of the restriction.toString()
-
Constructor Details
-
Restriction
public Restriction()
-
-
Method Details
-
getAccountId
Account id that this restricted permission is associated with. Can benullif it's globally applied.- Since:
- Authentication Service 2.3.0, Release Train 2.3.0
-
getType
Represents the type of the restriction. -
getTargets
Represents the targets of the restriction. -
setAccountId
Account id that this restricted permission is associated with. Can benullif it's globally applied.- Since:
- Authentication Service 2.3.0, Release Train 2.3.0
-
setType
Represents the type of the restriction. -
setTargets
Represents the targets of the restriction. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-