Skip navigation links
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
- All Implemented Interfaces
- EventConstants, IEvent, ConfigurableEntity, Serializable
- Direct Known Subclasses:
- DisplayCampaignEvent, DisplayContentEvent
-
public abstract class ContentEvent
- extends TrackingEvent
Event for tracking web site activity
- See Also
- Serialized Form
Field Summary |
static String |
DOCUMENT_ID
Event attribute key name for document id Attribute value is a String |
static String |
DOCUMENT_TYPE
Event attribute key name for document type Attribute value is a String |
Constructor Summary |
ContentEvent(String theEventType, javax.servlet.http.HttpSession session, String theXMLNamespace, String theXSDFile, String[] theSchemaKeys, javax.servlet.http.HttpServletRequest theRequest, String aDocumentType, String aDocumentId)
Create a new ContentEvent. |
ContentEvent(String theEventType, String theSessionId, String theUserId, String theXMLNamespace, String theXSDFile, String[] theSchemaKeys, javax.servlet.http.HttpServletRequest theRequest, String aDocumentType, String aDocumentId)
Deprecated |
Methods inherited from class com.bea.p13n.events.Event |
getApplication, getAttribute, getAttributeNames, getProperty, getTimeStamp, getType, removeAttribute, setApplication, setAttribute, setTimeStamp, 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 |
DOCUMENT_TYPE
public static final String DOCUMENT_TYPE
- Event attribute key name for document type Attribute value is a String
- See Also
- Constants Summary
DOCUMENT_ID
public static final String DOCUMENT_ID
- Event attribute key name for document id Attribute value is a String
- See Also
- Constants Summary
ContentEvent
public ContentEvent(String theEventType,
javax.servlet.http.HttpSession session,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys,
javax.servlet.http.HttpServletRequest theRequest,
String aDocumentType,
String aDocumentId)
- Create a new ContentEvent. This ctor must be used for tracking anonymous users.
- Parameters
theEventType
- the event type
session
- the HttpSession of the application servlet
theXMLNamespace
- the namespace for the XML schema representing the event
theXSDFile
- 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)
ContentEvent
public ContentEvent(String theEventType,
String theSessionId,
String theUserId,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys,
javax.servlet.http.HttpServletRequest theRequest,
String aDocumentType,
String aDocumentId)
- Deprecated
- Create a new ContentEvent.
- Parameters
theEventType
- the event type
theSessionId
- from HttpSession.getId()
theUserId
- from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)
theXMLNamespace
- the namespace for the XML schema representing the event
theXSDFile
- 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)
Skip navigation links
Copyright © 2010, Oracle. All rights reserved.