Package com.hybris.yprofile.services
Interface ProfileConfigurationService
-
- All Known Implementing Classes:
DefaultProfileConfigurationService
public interface ProfileConfigurationServiceFocuses on methods to retrieve yaas and profile configuration items
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClientIdForProfileTag(java.lang.String siteId)Returns the clientId from the client credential in Yaasjava.lang.StringgetProfileTagConfigUrl()Returns the ProfileTag configuration url in Yaasjava.lang.StringgetProfileTagUrl()Returns the ProfileTag url in Yaasjava.lang.StringgetTenant(java.lang.String siteId)Returns the project identifier in Yaas, alias "tenant"booleanisConfigurationPresent()Checks if the Yaas configuration is presentjava.lang.BooleanisProfileTagDebugEnabledInSession()Returns if the debug flag is enabledbooleanisProfileTrackingPaused()checks whether the profile tracking is enabledvoidsetProfileTagDebugFlagInSession(java.lang.Boolean debug)Sets debug mode in sessionvoidsetProfileTrackingPauseValue(boolean isProfileTrackingPause)Stores in session if profile tracking is paused
-
-
-
Method Detail
-
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
java.lang.String getTenant(java.lang.String siteId)
Returns the project identifier in Yaas, alias "tenant"- Parameters:
siteId- base site identifier- Returns:
- tenant identifier
-
getClientIdForProfileTag
java.lang.String getClientIdForProfileTag(java.lang.String siteId)
Returns the clientId from the client credential in Yaas- Parameters:
siteId- base site identifier- Returns:
- clientId
-
getProfileTagUrl
java.lang.String getProfileTagUrl()
Returns the ProfileTag url in Yaas- Returns:
- ProfileTag url
-
getProfileTagConfigUrl
java.lang.String getProfileTagConfigUrl()
Returns the ProfileTag configuration url in Yaas- Returns:
- ProfileTag configuration url
-
setProfileTagDebugFlagInSession
void setProfileTagDebugFlagInSession(java.lang.Boolean debug)
Sets debug mode in session- Parameters:
debug-
-
isProfileTagDebugEnabledInSession
java.lang.Boolean isProfileTagDebugEnabledInSession()
Returns if the debug flag is enabled- Returns:
-
-