Class UserOperation
- java.lang.Object
-
- com.broadleafcommerce.auth.resource.domain.UserOperation
-
public final class UserOperation extends Object
The API domain that represents a scope and operation types a user has access to on that scope.- Author:
- Nick Crum (ncrum)
-
-
Constructor Summary
Constructors Constructor Description UserOperation(String scope, Set<PermissionType> operationTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Set<PermissionType>
getOperationTypes()
The set of operation types that are allowed for the scope.String
getScope()
The scope of the user operation.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
UserOperation
public UserOperation(String scope, Set<PermissionType> operationTypes)
-
-
Method Detail
-
getScope
public String getScope()
The scope of the user operation.- Returns:
- the scope of the user operation
-
getOperationTypes
public Set<PermissionType> getOperationTypes()
The set of operation types that are allowed for the scope.- Returns:
- the operation types for the scope
-
-