Package com.hybris.yprofile.services
Interface ProfileConfigurationService
- All Known Implementing Classes:
DefaultProfileConfigurationService
public interface ProfileConfigurationService
Focuses on methods to retrieve yaas and profile configuration items
-
Method Summary
Modifier and TypeMethodDescriptiongetClientIdForProfileTag(String siteId) Returns the clientId from the client credential in YaasReturns the ProfileTag configuration url in YaasReturns the ProfileTag url in YaasReturns the project identifier in Yaas, alias "tenant"booleanChecks if the Yaas configuration is presentReturns if the debug flag is enabledbooleanchecks whether the profile tracking is enabledvoidSets debug mode in sessionvoidsetProfileTrackingPauseValue(boolean isProfileTrackingPause) Stores in session if profile tracking is paused
-
Method Details
-
isProfileTrackingPaused
boolean isProfileTrackingPaused()checks whether the profile tracking is enabled- Returns:
-
setProfileTrackingPauseValue
void setProfileTrackingPauseValue(boolean isProfileTrackingPause) Stores in session if profile tracking is paused- Parameters:
isProfileTrackingPause-
-
isConfigurationPresent
boolean isConfigurationPresent()Checks if the Yaas configuration is present- Returns:
- true or false
-
getTenant
Returns the project identifier in Yaas, alias "tenant"- Parameters:
siteId- base site identifier- Returns:
- tenant identifier
-
getClientIdForProfileTag
Returns the clientId from the client credential in Yaas- Parameters:
siteId- base site identifier- Returns:
- clientId
-
getProfileTagUrl
String getProfileTagUrl()Returns the ProfileTag url in Yaas- Returns:
- ProfileTag url
-
getProfileTagConfigUrl
String getProfileTagConfigUrl()Returns the ProfileTag configuration url in Yaas- Returns:
- ProfileTag configuration url
-
setProfileTagDebugFlagInSession
Sets debug mode in session- Parameters:
debug-
-
isProfileTagDebugEnabledInSession
Boolean isProfileTagDebugEnabledInSession()Returns if the debug flag is enabled- Returns:
-