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 Details

  • Method Details

    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object