Interface CPQInteractionStrategy
- All Known Implementing Classes:
DefaultCPQInteractionStrategy
public interface CPQInteractionStrategy
Facilitats interaction with CPQ
-
Method Summary
Modifier and TypeMethodDescriptionDetermines the admin authorization string for interaction with the CPQ clientRetrieves a CPQ client to interact withgetClientAuthorizationString(String ownerId) Determines the client authorization string for a given owenerId for interaction with the CPQ clientdefault booleanVerifies if the client authorization data already cached for the given owner
-
Method Details
-
getClient
CpqClient getClient()Retrieves a CPQ client to interact with- Returns:
- CPQ client
-
getAuthorizationString
String getAuthorizationString()Determines the admin authorization string for interaction with the CPQ client- Returns:
- authorization string
-
getClientAuthorizationString
Determines the client authorization string for a given owenerId for interaction with the CPQ client- Parameters:
ownerId- ownerId which will be encoded in the token- Returns:
- authorization string
-
isAuthorizationDataForClientInCache
Verifies if the client authorization data already cached for the given owner- Parameters:
ownerId- owner id of the client- Returns:
- true if client authorization data already cached for the given owner
-