|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the base interface for all Analytics Events
Method Summary | |
IASEvent |
deserialize(byte[] bytes)
Deserializes a byte array representing a serialized event and returns the deserialized IASEvent object |
java.lang.String |
getEventType()
Returns the Event Type |
java.lang.Object |
getValue(java.lang.String name)
Gets the value of the name/value property |
java.lang.String |
getVersion()
Returns the Serializer Version |
void |
init(java.lang.String eventName)
Initializes the ASEvent object with the given Event Name |
void |
sendEvent()
Sends this event using the current configuration settings. |
byte[] |
serialize()
Serializes this event and returns the serialized byte array |
void |
setConfig(java.lang.String fileLocation,
java.lang.String fileName)
Sets the openusage configuration using the property file at the given location and name |
void |
setConfig(com.plumtree.openfoundation.util.XPHashtable properties)
Sets the openusage configuration using the given properties |
void |
setValue(java.lang.String name,
java.lang.Object value)
Sets a name/value property for this event |
Method Detail |
public void init(java.lang.String eventName)
eventName
- the event name (NULL is not allowed)public byte[] serialize()
public IASEvent deserialize(byte[] bytes)
bytes
- a byte array representing a serialized event (NULL is not allowed)
public void setValue(java.lang.String name, java.lang.Object value)
name
- the property name (NULL is not allowed)value
- the property value (NULL is not allowed)public java.lang.Object getValue(java.lang.String name)
name
- the property name (NULL is not allowed)
public void sendEvent()
If the configuration was set using one of the setConfig methods, it will use this to transmit the event. Otherwise, it will use the configuration specified in PortalAnalyticsConfig.xml
public java.lang.String getEventType()
public java.lang.String getVersion()
public void setConfig(com.plumtree.openfoundation.util.XPHashtable properties)
properties
- a hashtable containing the properties to set (NULL is not allowed)public void setConfig(java.lang.String fileLocation, java.lang.String fileName)
fileLocation
- the directory where the file is located (NULL is not allowed)fileName
- the name of the file (NULL is not allowed)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |