public class DefaultProfileConfigurationService extends java.lang.Object implements ProfileConfigurationService
ProfileConfigurationService.PROFILE_TAG_CONFIG_URL, PROFILE_TAG_URL, PROFILE_TRACKING_PAUSE| Constructor and Description |
|---|
DefaultProfileConfigurationService() |
| Modifier and Type | Method and Description |
|---|---|
ConsumedDestinationLocatorStrategy |
getBaseSiteConsumedDestinationLocatorStrategy() |
java.lang.String |
getClientIdForProfileTag(java.lang.String siteId)
Returns the clientId from the client credential in Yaas
|
protected java.util.Optional<AbstractDestinationModel> |
getDestinationModel(java.lang.String className) |
DestinationService<AbstractDestinationModel> |
getDestinationService() |
java.lang.String |
getProfileTagConfigUrl()
Returns the ProfileTag configuration url in Yaas
|
java.lang.String |
getProfileTagUrl()
Returns the ProfileTag url in Yaas
|
RetrieveRestClientStrategy |
getRetrieveRestClientStrategy() |
SessionService |
getSessionService() |
java.lang.String |
getTenant(java.lang.String siteId)
Returns the project identifier in Yaas, alias "tenant"
|
boolean |
isConfigurationPresent()
Checks if the Yaas configuration is present
|
java.lang.Boolean |
isProfileTagDebugEnabledInSession()
Returns if the debug flag is enabled
|
boolean |
isProfileTrackingPaused()
checks whether the profile tracking is enabled
|
void |
setBaseSiteConsumedDestinationLocatorStrategy(ConsumedDestinationLocatorStrategy baseSiteConsumedDestinationLocatorStrategy) |
void |
setDestinationService(DestinationService<AbstractDestinationModel> destinationService) |
void |
setProfileTagDebugFlagInSession(java.lang.Boolean debug)
Sets debug mode in session
|
void |
setProfileTrackingPaused(boolean profileTrackingPaused) |
void |
setProfileTrackingPauseValue(boolean isProfileTrackingPaused)
Stores in session if profile tracking is paused
|
void |
setRetrieveRestClientStrategy(RetrieveRestClientStrategy retrieveRestClientStrategy) |
void |
setSessionService(SessionService sessionService) |
public boolean isProfileTrackingPaused()
ProfileConfigurationServiceisProfileTrackingPaused in interface ProfileConfigurationServicepublic void setProfileTrackingPauseValue(boolean isProfileTrackingPaused)
ProfileConfigurationServicesetProfileTrackingPauseValue in interface ProfileConfigurationServicepublic boolean isConfigurationPresent()
ProfileConfigurationServiceisConfigurationPresent in interface ProfileConfigurationServicepublic java.lang.String getTenant(java.lang.String siteId)
ProfileConfigurationServicegetTenant in interface ProfileConfigurationServicesiteId - base site identifierpublic java.lang.String getClientIdForProfileTag(java.lang.String siteId)
ProfileConfigurationServicegetClientIdForProfileTag in interface ProfileConfigurationServicesiteId - base site identifierprotected java.util.Optional<AbstractDestinationModel> getDestinationModel(java.lang.String className)
public java.lang.String getProfileTagUrl()
ProfileConfigurationServicegetProfileTagUrl in interface ProfileConfigurationServicepublic java.lang.String getProfileTagConfigUrl()
ProfileConfigurationServicegetProfileTagConfigUrl in interface ProfileConfigurationServicepublic void setProfileTagDebugFlagInSession(java.lang.Boolean debug)
ProfileConfigurationServicesetProfileTagDebugFlagInSession in interface ProfileConfigurationServicepublic java.lang.Boolean isProfileTagDebugEnabledInSession()
ProfileConfigurationServiceisProfileTagDebugEnabledInSession in interface ProfileConfigurationServicepublic DestinationService<AbstractDestinationModel> getDestinationService()
public void setDestinationService(DestinationService<AbstractDestinationModel> destinationService)
public RetrieveRestClientStrategy getRetrieveRestClientStrategy()
public void setRetrieveRestClientStrategy(RetrieveRestClientStrategy retrieveRestClientStrategy)
public SessionService getSessionService()
public void setSessionService(SessionService sessionService)
public void setProfileTrackingPaused(boolean profileTrackingPaused)
public ConsumedDestinationLocatorStrategy getBaseSiteConsumedDestinationLocatorStrategy()
public void setBaseSiteConsumedDestinationLocatorStrategy(ConsumedDestinationLocatorStrategy baseSiteConsumedDestinationLocatorStrategy)
Copyright © 2018 SAP SE. All Rights Reserved.