lumis.service.banner
Class BannerMonitorUtil

Package class diagram package BannerMonitorUtil
java.lang.Object
  extended by lumis.service.banner.BannerMonitorUtil

public class BannerMonitorUtil
extends Object

Contains banner monitoring constants and utility methods.

Since:
4.1.0

Field Summary
static String AGGREGATION_TYPE_BANNER_CATEGORY_NAME
          Key for banner's category name aggregation type.
static String AGGREGATION_TYPE_BANNER_NAME
          Key for banner's name aggregation type.
static String AGGREGATION_TYPE_BANNER_SI_FRIENDLY_PATH
          Key for banner's service instance friendly path aggregation type.
static String AGGREGATION_TYPE_BANNER_SI_PATH
          Key for banner's service instance path aggregation type.
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 Summary
BannerMonitorUtil()
           
 
Method Summary
static IMonitor getBannerClickMonitor(ServiceInstanceConfig bannerServiceInstanceConfig, String bannerName, String bannerCategoryId, PageConfig displayPageConfig, ITransaction transaction)
          Returns a monitor for the "lumis.service.banner.ev.bannerclick" event.
static IMonitor getBannerViewMonitor(ServiceInstanceConfig bannerServiceInstanceConfig, String bannerName, String bannerCategoryId, PageConfig displayPageConfig, ITransaction transaction)
          Returns a monitor for the "lumis.service.banner.ev.bannerview" event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_RESOURCE_PATH

public static final String STRING_RESOURCE_PATH
The string resource path using for localizing banner monitoring strings.

Since:
4.1.0
See Also:
Constant Field Values

EVENT_BANNER_VIEW

public static final String EVENT_BANNER_VIEW
Key for banner view event.

Since:
4.1.0
See Also:
Constant Field Values

EVENT_BANNER_CLICK

public static final String EVENT_BANNER_CLICK
Key for banner click event.

Since:
4.1.0
See Also:
Constant Field Values

AGGREGATION_TYPE_BANNER_SI_PATH

public static final String AGGREGATION_TYPE_BANNER_SI_PATH
Key for banner's service instance path aggregation type.

Since:
4.1.0
See Also:
Constant Field Values

AGGREGATION_TYPE_BANNER_SI_FRIENDLY_PATH

public static final String AGGREGATION_TYPE_BANNER_SI_FRIENDLY_PATH
Key for banner's service instance friendly path aggregation type.

Since:
4.1.0
See Also:
Constant Field Values

AGGREGATION_TYPE_BANNER_NAME

public static final String AGGREGATION_TYPE_BANNER_NAME
Key for banner's name aggregation type.

Since:
4.1.0
See Also:
Constant Field Values

AGGREGATION_TYPE_BANNER_CATEGORY_NAME

public static final String AGGREGATION_TYPE_BANNER_CATEGORY_NAME
Key for banner's category name aggregation type.

Since:
4.1.0
See Also:
Constant Field Values
Constructor Detail

BannerMonitorUtil

public BannerMonitorUtil()
Method Detail

getBannerViewMonitor

public static IMonitor getBannerViewMonitor(ServiceInstanceConfig bannerServiceInstanceConfig,
                                            String bannerName,
                                            String bannerCategoryId,
                                            PageConfig displayPageConfig,
                                            ITransaction transaction)
                                     throws PortalException
Returns a monitor for the "lumis.service.banner.ev.bannerview" event.

Parameters:
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.
displayPageConfig - the page where the banner is shown.
transaction - the transaction for persistence access.
Returns:
the monitor.
Throws:
PortalException
Since:
4.1.0

getBannerClickMonitor

public static IMonitor getBannerClickMonitor(ServiceInstanceConfig bannerServiceInstanceConfig,
                                             String bannerName,
                                             String bannerCategoryId,
                                             PageConfig displayPageConfig,
                                             ITransaction transaction)
                                      throws PortalException
Returns a monitor for the "lumis.service.banner.ev.bannerclick" event.

Parameters:
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.
displayPageConfig - the page where the banner was shown.
transaction - the transaction for persistence access.
Returns:
the monitor.
Throws:
PortalException
Since:
4.1.0


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.