# com.bea.p13n.ad
AdEventTrackerBase Class

public class AdEventTrackerBase
extends `Object`
implements `AdEventTracker`

Base class which does the basic work of raising events within the ad package.

Hierarchy
  `Object`
  `AdEventTrackerBase`

All Implemented Interfaces
  `AdEventTracker`

Direct Known Subclasses
  `AdTracking`

## Constructor Summary

AdEventTrackerBase()

## Method Summary

`protected static `EventService`` | `getEventService`() Return the EventService at java:comp/env/ejb/EventService.
`public void` | `raiseClickThruEvent`(`String` userId, `HttpServletRequest` request, `String` containerUID, `String` contextUID, `String` placeholder, `String` contPath) Raise a ClickContentEvent when an ad is clicked on
`public void` | `raiseDisplayEvent`(`String` userId, `HttpServletRequest` request, `String` containerUID, `String` contextUID, `String` placeholder, `String` contPath) Raise a DisplayContentEvent when an ad is displayed.

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.bea.p13n.ad.`AdEventTracker``
``raiseClickThruEvent`, `raiseDisplayEvent``

## Constructor Detail

### AdEventTrackerBase

    public AdEventTrackerBase()

## Method Detail

### getEventService() Method

    protected static EventService getEventService()
         throws CreateException, NamingException, RemoteException

Return the EventService at java:comp/env/ejb/EventService.

#### Exceptions

``CreateException``
``NamingException``
``RemoteException``

### raiseClickThruEvent(String, HttpServletRequest, String, String, String, String) Method

    public void raiseClickThruEvent(String userId,
                                    HttpServletRequest request,
                                    String containerUID,
                                    String contextUID,
                                    String placeholder,
                                    String contPath)

Raise a ClickContentEvent when an ad is clicked on

#### Parameters

userId
  the user id

request
  the HTTP request

containerUID
  the UID of the container

contextUID
  the UID of the context

placeholder
  the name of the placeholder,

contPath
  the content path of the ad

### raiseDisplayEvent(String, HttpServletRequest, String, String, String, String) Method

    public void raiseDisplayEvent(String userId,
                                  HttpServletRequest request,
                                  String containerUID,
                                  String contextUID,
                                  String placeholder,
                                  String contPath)

Raise a DisplayContentEvent when an ad is displayed.

#### Parameters

userId
  the user id

request
  the HTTP request

containerUID
  the UID of the container

contextUID
  the UID of the context

placeholder
  the name of the placeholder,

contPath
  the content path of the ad