public class BannerMonitorUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_BANNER_CLICK
Key for banner click event.
|
static String |
EVENT_BANNER_VIEW
Key for banner view event.
|
static String |
STRING_RESOURCE_PATH
The string resource path using for localizing banner monitoring strings.
|
Constructor and Description |
---|
BannerMonitorUtil() |
Modifier and Type | Method and Description |
---|---|
static IMonitor |
getBannerClickMonitor(ServiceInstanceConfig bannerServiceInstanceConfig,
String bannerName,
String bannerCategoryId,
ContentVersion bannerContentVersion,
PageConfig displayPageConfig,
WebResource webResource,
ITransaction transaction)
Returns a monitor for the "lumis.portal.monitor.ev.banner.click" event.
|
static IMonitor |
getBannerViewMonitor(ServiceInstanceConfig bannerServiceInstanceConfig,
String bannerName,
String bannerCategoryId,
ContentVersion bannerContentVersion,
PageConfig displayPageConfig,
WebResource webResource,
ITransaction transaction)
Returns a monitor for the "lumis.portal.monitor.ev.banner.view" event.
|
public static final String STRING_RESOURCE_PATH
public static final String EVENT_BANNER_VIEW
public static final String EVENT_BANNER_CLICK
public static IMonitor getBannerViewMonitor(ServiceInstanceConfig bannerServiceInstanceConfig, String bannerName, String bannerCategoryId, ContentVersion bannerContentVersion, PageConfig displayPageConfig, WebResource webResource, ITransaction transaction) throws PortalException
bannerServiceInstanceConfig
- the banner service instance.bannerName
- the banner's name.bannerCategoryId
- the banner's category id, or null if the banner
has no category specified.bannerContentId
- the banner's content identifier.displayPageConfig
- the page where the banner is shown.transaction
- the transaction for persistence access.PortalException
public static IMonitor getBannerClickMonitor(ServiceInstanceConfig bannerServiceInstanceConfig, String bannerName, String bannerCategoryId, ContentVersion bannerContentVersion, PageConfig displayPageConfig, WebResource webResource, ITransaction transaction) throws PortalException
bannerServiceInstanceConfig
- the banner service instance.bannerName
- the banner's name.bannerCategoryId
- the banner's category id, or null if the banner
has no category specified.bannerContentId
- the banner's content identifier.displayPageConfig
- the page where the banner was shown.transaction
- the transaction for persistence access.PortalException
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.