Interface BusinessContextService

All Known Implementing Classes:
DefaultBusinessContextService

public interface BusinessContextService
Handling of business attributes for CPQ
  • Method Details

    • getBusinessContext

      BusinessContext getBusinessContext()
      Determines the CPQ relevant business context for the current user
      Returns:
      business context
    • getOwnerId

      String getOwnerId()
      Determines the owner id
      Returns:
      owner id
    • sendBusinessContextToCPQ

      default void sendBusinessContextToCPQ()
      Sends business context to CPQ defaulting the owner id and business context from the interface methods
    • sendBusinessContextToCPQ

      void sendBusinessContextToCPQ(String ownerId, BusinessContext businessContext)
      Sends business context to CPQ for a given owner id
      Parameters:
      ownerId - owner id
      businessContext - business context