|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.banner.BannerMonitorUtil
public class BannerMonitorUtil
Contains banner monitoring constants and utility methods.
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 |
---|
public static final String STRING_RESOURCE_PATH
public static final String EVENT_BANNER_VIEW
public static final String EVENT_BANNER_CLICK
public static final String AGGREGATION_TYPE_BANNER_SI_PATH
public static final String AGGREGATION_TYPE_BANNER_SI_FRIENDLY_PATH
public static final String AGGREGATION_TYPE_BANNER_NAME
public static final String AGGREGATION_TYPE_BANNER_CATEGORY_NAME
Constructor Detail |
---|
public BannerMonitorUtil()
Method Detail |
---|
public static IMonitor getBannerViewMonitor(ServiceInstanceConfig bannerServiceInstanceConfig, String bannerName, String bannerCategoryId, PageConfig displayPageConfig, 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.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, PageConfig displayPageConfig, 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.displayPageConfig
- the page where the banner was shown.transaction
- the transaction for persistence access.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |