© 2002 BEA Systems, Inc.


com.bea.p13n.tracking.events
Class ContentEvent

java.lang.Object
  |
  +--com.bea.p13n.property.AbstractConfigurableEntity
        |
        +--com.bea.p13n.events.Event
              |
              +--com.bea.p13n.tracking.events.TrackingEvent
                    |
                    +--com.bea.p13n.tracking.events.ContentEvent
Direct Known Subclasses:
DisplayCampaignEvent, DisplayContentEvent, DisplayProductEvent

public abstract class ContentEvent
extends TrackingEvent

Event for tracking web site activity

See Also:
Serialized Form

Field Summary
static java.lang.String DOCUMENT_ID
          Event attribute key name for document id Attribute value is a String
static java.lang.String DOCUMENT_TYPE
          Event attribute key name for document type Attribute value is a String
 
Fields inherited from class com.bea.p13n.tracking.events.TrackingEvent
APPLICATION, REQUEST, SESSION_ID, USER_ID
 
Fields inherited from class com.bea.p13n.property.AbstractConfigurableEntity
CE_METHOD_CACHE, instanceClass, PREFIX_GET, PREFIX_SET, propertyCache, textFormatter
 
Constructor Summary
ContentEvent(java.lang.String theEventType, java.lang.String theSessionId, java.lang.String theUserId, java.lang.String theXMLNamespace, java.lang.String theXSDFile, java.lang.String[] theSchemaKeys, javax.servlet.http.HttpServletRequest theRequest, java.lang.String aDocumentType, java.lang.String aDocumentId)
          Create a new ContentEvent.
 
Methods inherited from class com.bea.p13n.tracking.events.TrackingEvent
getSchemaKeys, getXMLNamespace, getXSDFile, setSchemaKeys, setXMLNamespace, setXSDFile
 
Methods inherited from class com.bea.p13n.events.Event
getApplication, getAttribute, getAttributeNames, getProperty, getTimeStamp, getType, removeAttribute, setApplication, setAttribute, toString
 
Methods inherited from class com.bea.p13n.property.AbstractConfigurableEntity
createMapKey, getCachedProperty, getExplicitProperty, getExplicitSetter, getImplicitProperty, getJndiName, getPkString, getPropertyAsString, getPropertyCache, getPropertyNoDefault, getUniqueId, hasExplicitGetter, hasExplicitSetter, removeExplicitProperty, removeProperty, setExplicitProperty, setProperty, upcaseFirst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DOCUMENT_TYPE

public static final java.lang.String DOCUMENT_TYPE
Event attribute key name for document type Attribute value is a String

DOCUMENT_ID

public static final java.lang.String DOCUMENT_ID
Event attribute key name for document id Attribute value is a String
Constructor Detail

ContentEvent

public ContentEvent(java.lang.String theEventType,
                    java.lang.String theSessionId,
                    java.lang.String theUserId,
                    java.lang.String theXMLNamespace,
                    java.lang.String theXSDFile,
                    java.lang.String[] theSchemaKeys,
                    javax.servlet.http.HttpServletRequest theRequest,
                    java.lang.String aDocumentType,
                    java.lang.String aDocumentId)
Create a new ContentEvent.

Parameters:
theEventType - the event type
theSessionId - from HttpSession.getId()
theUserId - from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)
aXMLNamespace - the namespace for the XML schema representing the event
aXSDFile - the XSD filename that stores the event's schema
theSchemaKeys - the list of keys (in their order in the XSD schema) representing the data to be persisted in this event's XML
theRequest - the http servlet request object
aDocumentType - Document Type for the content (optionally null)
aDocumentId - Document ID for the content (optionally null)

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved