|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.p13n.property.AbstractConfigurableEntity
com.bea.p13n.events.Event
com.bea.p13n.tracking.events.TrackingEvent
public abstract class TrackingEvent
The base class for implementing any behavior tracking events. Events that will be persisted to the EVENT table for beahvior tracking must subclass this class.
Field Summary | |
---|---|
static String |
REQUEST
Event attribute key name for the request object Attribute value is a com.bea.p13n.http.Request |
static String |
SESSION_ID
Event attribute key name for session id Attribute value is a String |
static String |
USER_ID
Event attribute key name for user id Attribute value is a String |
static String |
USER_TYPE
Event attribute key name for user type. |
Fields inherited from class com.bea.p13n.property.AbstractConfigurableEntity |
---|
CE_METHOD_CACHE, instanceClass, PREFIX_GET, PREFIX_SET, propertyCache, textFormatter |
Fields inherited from interface com.bea.p13n.property.ConfigurableEntity |
---|
RESERVED_PROPERTY_SET |
Fields inherited from interface com.bea.p13n.events.EventConstants |
---|
TYPE_ALL |
Constructor Summary | |
---|---|
TrackingEvent(String eventType,
HttpSession session,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys)
Create a new TrackingEvent. |
|
TrackingEvent(String theEventType,
HttpSession session,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys,
HttpServletRequest theRequest)
Create a new TrackingEvent. |
|
TrackingEvent(String theEventType,
String theSessionId,
String theUserId,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys)
Deprecated Use TrackingEvent(String theEventType, HttpSession session, String theXMLNamespace, String theXSDFile, String[] theSchemaKeys) |
|
TrackingEvent(String theEventType,
String theSessionId,
String theUserId,
String theXMLNamespace,
String theXSDFile,
String[] theSchemaKeys,
HttpServletRequest theRequest)
Deprecated Use TrackingEvent(String theEventType, HttpSession session, String theXMLNamespace, String theXSDFile, String[] theSchemaKeys, HttpServletRequest theRequest) |
Method Summary | |
---|---|
String[] |
getSchemaKeys()
Get the schama keys (and their order) for the XML representation of this document |
HttpSession |
getSession()
|
String |
getXMLNamespace()
Get the XML namespace for this event |
String |
getXSDFile()
Get the XSD schema file for this event |
void |
setSchemaKeys(String[] schemaKeys)
Get the schema keys for this event's XML representation |
void |
setSession(HttpSession session)
HttpSession object |
void |
setXMLNamespace(String newXMLNamespace)
Set the XML namespace for this event |
void |
setXSDFile(String newXSDFile)
Set the XSD schema file for this event |
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 |
Methods inherited from interface com.bea.p13n.property.ConfigurableEntity |
---|
getJndiName, getPkString, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty |
Field Detail |
---|
public static final String SESSION_ID
public static final String USER_ID
public static final String USER_TYPE
ProfileType
,
Constants Summarypublic static final String REQUEST
Constructor Detail |
---|
public TrackingEvent(String eventType, HttpSession session, String theXMLNamespace, String theXSDFile, String[] theSchemaKeys)
eventType
- the event's typesession
- the HttpSession from the application servlet. Cannot be null.theXMLNamespace
- the namespace for an XML representation of this event typetheXSDFile
- the file that contains the schema which specifies and enforces typing
on the data in the XML filetheSchemaKeys
- the list of keys (in their order in the XSD schema) representing the data
to be persisted in this event's XMLpublic TrackingEvent(String theEventType, HttpSession session, String theXMLNamespace, String theXSDFile, String[] theSchemaKeys, HttpServletRequest theRequest)
theEventType
- the event's typesession
- the HttpSession from the application servlet. Cannot be null.theXMLNamespace
- the namespace for an XML representation of this event typetheXSDFile
- the file that contains the schema which specifies and enforces typing
on the data in the XML filetheSchemaKeys
- the list of keys (in their order in the XSD schema) representing the data
to be persisted in this event's XMLpublic TrackingEvent(String theEventType, String theSessionId, String theUserId, String theXMLNamespace, String theXSDFile, String[] theSchemaKeys)
theEventType
- the event's typetheSessionId
- from HttpSession.getId(). Cannot be null.theUserId
- from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)theXMLNamespace
- the namespace for an XML representation of this event typetheXSDFile
- the file that contains the schema which specifies and enforces typing
on the data in the XML filetheSchemaKeys
- the list of keys (in their order in the XSD schema) representing the data
to be persisted in this event's XMLpublic TrackingEvent(String theEventType, String theSessionId, String theUserId, String theXMLNamespace, String theXSDFile, String[] theSchemaKeys, HttpServletRequest theRequest)
theEventType
- the event's typetheSessionId
- from HttpSession.getId(). Cannot be null.theUserId
- from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)theXMLNamespace
- the namespace for an XML representation of this event typetheXSDFile
- the file that contains the schema which specifies and enforces typing
on the data in the XML filetheSchemaKeys
- the list of keys (in their order in the XSD schema) representing the data
to be persisted in this event's XMLtheRequest
- the http servlet request objectMethod Detail |
---|
public String getXMLNamespace()
public void setXMLNamespace(String newXMLNamespace)
public String getXSDFile()
public void setXSDFile(String newXSDFile)
public String[] getSchemaKeys()
public void setSchemaKeys(String[] schemaKeys)
public void setSession(HttpSession session)
public HttpSession getSession()
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |