Interface BusinessContextService
- All Known Implementing Classes:
DefaultBusinessContextService
public interface BusinessContextService
Handling of business attributes for CPQ
-
Method Summary
Modifier and TypeMethodDescriptionDetermines the CPQ relevant business context for the current userDetermines the owner iddefault voidSends business context to CPQ defaulting the owner id and business context from the interface methodsvoidsendBusinessContextToCPQ(String ownerId, BusinessContext businessContext) Sends business context to CPQ for a given owner id
-
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
Sends business context to CPQ for a given owner id- Parameters:
ownerId- owner idbusinessContext- business context
-