Package com.day.cq.dam.performance.api
Interface AssetPerformanceConfigProvider
-
public interface AssetPerformanceConfigProvider
TheAssetPerformanceConfigProvider
interface provide methods for retrieving the Asset Insight configurations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAssetClickSuccessEvent(ResourceResolver resolver)
Gets the SiteCatalyst Asset Click success event.java.lang.String
getAssetIdClickEVar(ResourceResolver resolver)
Gets the SiteCatalyst eVar variable for the Asset Click Success Event.java.lang.String
getAssetIdImpressionListVar(ResourceResolver resolver)
Gets the SiteCatalyst list variable for the Asset Impression Success Event.java.lang.String
getAssetImpressionSuccessEvent(ResourceResolver resolver)
Gets the SiteCatalyst Asset Impression success event.Configuration
getSCConfiguration(ResourceResolver resolver)
Gets the Asset Insight - SiteCatlyst configuration.java.lang.String
getSCConfiguredReportSuite(Configuration scConfiguration)
Gets the SiteCatalyst ReportSuite configured with the scConfiguration.java.lang.String
getSCConfiguredTrackingServer(SlingHttpServletRequest request, Configuration scConfiguration)
Gets the SiteCatalyst Tracking Server configured with the scConfiguration.java.lang.String
getSCConfiguredVisitorNamespace(Configuration scConfiguration)
Gets the SiteCatalyst Visitor Namespace configured with the scConfiguration.java.lang.String
getSiteCatalystCloudServiceConfigPath(Resource resource)
Gets the SiteCatalyst cloud service config path.java.lang.String
getSiteCatalystCloudServiceConfigPath(ResourceResolver resolver)
Gets the SiteCatalyst cloud service config path.
-
-
-
Method Detail
-
getSiteCatalystCloudServiceConfigPath
java.lang.String getSiteCatalystCloudServiceConfigPath(Resource resource)
Gets the SiteCatalyst cloud service config path.- Parameters:
resource
- used for resolving the configuration paths- Returns:
- the SiteCatalyst cloud service config path
-
getSiteCatalystCloudServiceConfigPath
java.lang.String getSiteCatalystCloudServiceConfigPath(ResourceResolver resolver)
Gets the SiteCatalyst cloud service config path.- Parameters:
resolver
- , used for resolving the configuration paths- Returns:
- the SiteCatalyst cloud service config path
-
getAssetIdImpressionListVar
java.lang.String getAssetIdImpressionListVar(ResourceResolver resolver)
Gets the SiteCatalyst list variable for the Asset Impression Success Event.- Parameters:
resolver
- , used for resolving the configuration paths- Returns:
- the SiteCatalyst list variable for the Asset Impression Success Event.
-
getAssetIdClickEVar
java.lang.String getAssetIdClickEVar(ResourceResolver resolver)
Gets the SiteCatalyst eVar variable for the Asset Click Success Event.- Parameters:
resolver
- , used for resolving the configuration paths- Returns:
- the SiteCatalyst eVar variable for the Asset Click Success Event.
-
getAssetImpressionSuccessEvent
java.lang.String getAssetImpressionSuccessEvent(ResourceResolver resolver)
Gets the SiteCatalyst Asset Impression success event.- Parameters:
resolver
- , used for resolving the configuration paths- Returns:
- the SiteCatalyst Asset Impression success event.
-
getAssetClickSuccessEvent
java.lang.String getAssetClickSuccessEvent(ResourceResolver resolver)
Gets the SiteCatalyst Asset Click success event.- Parameters:
resolver
- , used for resolving the configuration paths- Returns:
- the SiteCatalyst Asset Click success event.
-
getSCConfiguredReportSuite
java.lang.String getSCConfiguredReportSuite(Configuration scConfiguration)
Gets the SiteCatalyst ReportSuite configured with the scConfiguration.- Parameters:
scConfiguration
- site catalyst configuration- Returns:
- the SiteCatalyst ReportSuite configured with the configuration
-
getSCConfiguredVisitorNamespace
java.lang.String getSCConfiguredVisitorNamespace(Configuration scConfiguration)
Gets the SiteCatalyst Visitor Namespace configured with the scConfiguration.- Parameters:
scConfiguration
- site catalyst configuration- Returns:
- the SiteCatalyst Visitor Namespace configured with the configuration
-
getSCConfiguredTrackingServer
java.lang.String getSCConfiguredTrackingServer(SlingHttpServletRequest request, Configuration scConfiguration)
Gets the SiteCatalyst Tracking Server configured with the scConfiguration.- Parameters:
scConfiguration
- site catalyst configurationrequest
- client request- Returns:
- the SiteCatalyst Tracking Server configured with the configuration
-
getSCConfiguration
Configuration getSCConfiguration(ResourceResolver resolver)
Gets the Asset Insight - SiteCatlyst configuration.- Parameters:
resolver
- , used for resolving the configuration paths- Returns:
- the Asset Insight - SiteCatlyst configuration.
-
-