Interface Permission

All Superinterfaces:
JsonEnum
All Known Implementing Classes:
Permission.PermissionEnum

public interface Permission extends JsonEnum

Permissions grant granular access to Business Units, Carts, Orders, Quotes, and Quote Requests.

  • Field Details

    • ADD_CHILD_UNITS

      static final Permission ADD_CHILD_UNITS
    • UPDATE_ASSOCIATES

      static final Permission UPDATE_ASSOCIATES
    • UPDATE_BUSINESS_UNIT_DETAILS

      static final Permission UPDATE_BUSINESS_UNIT_DETAILS
    • UPDATE_PARENT_UNIT

      static final Permission UPDATE_PARENT_UNIT
    • VIEW_MY_CARTS

      static final Permission VIEW_MY_CARTS
    • VIEW_OTHERS_CARTS

      static final Permission VIEW_OTHERS_CARTS
    • UPDATE_MY_CARTS

      static final Permission UPDATE_MY_CARTS
    • UPDATE_OTHERS_CARTS

      static final Permission UPDATE_OTHERS_CARTS
    • CREATE_MY_CARTS

      static final Permission CREATE_MY_CARTS
    • CREATE_OTHERS_CARTS

      static final Permission CREATE_OTHERS_CARTS
    • DELETE_MY_CARTS

      static final Permission DELETE_MY_CARTS
    • DELETE_OTHERS_CARTS

      static final Permission DELETE_OTHERS_CARTS
    • VIEW_MY_ORDERS

      static final Permission VIEW_MY_ORDERS
    • VIEW_OTHERS_ORDERS

      static final Permission VIEW_OTHERS_ORDERS
    • UPDATE_MY_ORDERS

      static final Permission UPDATE_MY_ORDERS
    • UPDATE_OTHERS_ORDERS

      static final Permission UPDATE_OTHERS_ORDERS
    • CREATE_MY_ORDERS_FROM_MY_CARTS

      static final Permission CREATE_MY_ORDERS_FROM_MY_CARTS
    • CREATE_MY_ORDERS_FROM_MY_QUOTES

      static final Permission CREATE_MY_ORDERS_FROM_MY_QUOTES
    • CREATE_ORDERS_FROM_OTHERS_CARTS

      static final Permission CREATE_ORDERS_FROM_OTHERS_CARTS
    • CREATE_ORDERS_FROM_OTHERS_QUOTES

      static final Permission CREATE_ORDERS_FROM_OTHERS_QUOTES
    • VIEW_MY_QUOTES

      static final Permission VIEW_MY_QUOTES
    • VIEW_OTHERS_QUOTES

      static final Permission VIEW_OTHERS_QUOTES
    • ACCEPT_MY_QUOTES

      static final Permission ACCEPT_MY_QUOTES
    • ACCEPT_OTHERS_QUOTES

      static final Permission ACCEPT_OTHERS_QUOTES
    • DECLINE_MY_QUOTES

      static final Permission DECLINE_MY_QUOTES
    • DECLINE_OTHERS_QUOTES

      static final Permission DECLINE_OTHERS_QUOTES
    • RENEGOTIATE_MY_QUOTES

      static final Permission RENEGOTIATE_MY_QUOTES
    • RENEGOTIATE_OTHERS_QUOTES

      static final Permission RENEGOTIATE_OTHERS_QUOTES
    • REASSIGN_MY_QUOTES

      static final Permission REASSIGN_MY_QUOTES
    • REASSIGN_OTHERS_QUOTES

      static final Permission REASSIGN_OTHERS_QUOTES
    • VIEW_MY_QUOTE_REQUESTS

      static final Permission VIEW_MY_QUOTE_REQUESTS
    • VIEW_OTHERS_QUOTE_REQUESTS

      static final Permission VIEW_OTHERS_QUOTE_REQUESTS
    • UPDATE_MY_QUOTE_REQUESTS

      static final Permission UPDATE_MY_QUOTE_REQUESTS
    • UPDATE_OTHERS_QUOTE_REQUESTS

      static final Permission UPDATE_OTHERS_QUOTE_REQUESTS
    • CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS

      static final Permission CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS
    • CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS

      static final Permission CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS
  • Method Details

    • getJsonName

      String getJsonName()
      the JSON value
      Specified by:
      getJsonName in interface JsonEnum
      Returns:
      json value
    • name

      String name()
      the enum value
      Specified by:
      name in interface JsonEnum
      Returns:
      name
    • toString

      String toString()
      convert value to string
      Specified by:
      toString in interface JsonEnum
      Overrides:
      toString in class Object
      Returns:
      string representation
    • findEnum

      static Permission findEnum(String value)
      factory method for a enum value of Permission if no enum has been found an anonymous instance will be created
      Parameters:
      value - the enum value to be wrapped
      Returns:
      enum instance
    • findEnumViaJsonName

      static Optional<Permission> findEnumViaJsonName(String jsonName)
      method to find enum using the JSON value
      Parameters:
      jsonName - the json value to be wrapped
      Returns:
      optional of enum instance
    • values

      static Permission[] values()
      possible enum values
      Returns:
      array of possible enum values