| java.lang.Object org.openharmonise.rm.logging.AbstractEventLogger org.openharmonise.rm.logging.DBEventLogger
DBEventLogger | public class DBEventLogger extends AbstractEventLogger implements EventLogger(Code) | | The EventLogger implementation which handles logging Harmonise
event data to a database.
author: Michael Bell version: $Revision: 1.2 $ |
Method Summary | |
public static String | getColumnAction() Returns the column name for the event 'action' database column. | public static String | getColumnEventId() Returns the column name for the event 'id' database column. | public static String | getColumnHeaderInfo() Returns the column name for the event 'header info' database column. | public static String | getColumnIPAddress() Returns the column name for the event 'IP address' database column. | public static String | getColumnObjectId() Returns the column name for the event 'object id' database column. | public static String | getColumnObjectType() Returns the column name for the event 'object type' database column. | public static String | getColumnReferer() Returns the column name for the event 'referer' database column. | public static String | getColumnSessionId() Returns the column name for the event 'session id' database column. | public static String | getColumnTimestamp() Returns the column name for the event 'timestamp' database column. | public static String | getColumnUserAgent() Returns the column name for the event 'user agent' database column. | public static String | getColumnUserId() Returns the column name for the event 'user id' database column. | public static String | getTableName() Returns the event database table name. | protected void | saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, Map headers) | protected void | saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, String sAdditional) |
NAME_VALUE_SEPARATOR | final public static String NAME_VALUE_SEPARATOR(Code) | | Separator constant for separating names and values in a string list of name-value pairs
|
PAIR_SEPARATOR | final public static String PAIR_SEPARATOR(Code) | | Separator constant for separating name-value pairs in a string list of name-value pairs
|
getColumnAction | public static String getColumnAction()(Code) | | Returns the column name for the event 'action' database column.
.
the column name for the event 'action' database column |
getColumnEventId | public static String getColumnEventId()(Code) | | Returns the column name for the event 'id' database column.
the column name for the event 'id' database column |
getColumnHeaderInfo | public static String getColumnHeaderInfo()(Code) | | Returns the column name for the event 'header info' database column.
the column name for the event 'header info' database column |
getColumnIPAddress | public static String getColumnIPAddress()(Code) | | Returns the column name for the event 'IP address' database column.
the column name for the event 'IP address' database column |
getColumnObjectId | public static String getColumnObjectId()(Code) | | Returns the column name for the event 'object id' database column.
the column name for the event 'object id' database column |
getColumnObjectType | public static String getColumnObjectType()(Code) | | Returns the column name for the event 'object type' database column.
the column name for the event 'object type' database column |
getColumnReferer | public static String getColumnReferer()(Code) | | Returns the column name for the event 'referer' database column.
the column name for the event 'referer' database column |
getColumnSessionId | public static String getColumnSessionId()(Code) | | Returns the column name for the event 'session id' database column.
the column name for the event 'session id' database column |
getColumnTimestamp | public static String getColumnTimestamp()(Code) | | Returns the column name for the event 'timestamp' database column.
the column name for the event 'timestamp' database column |
getColumnUserAgent | public static String getColumnUserAgent()(Code) | | Returns the column name for the event 'user agent' database column.
the column name for the event 'user agent' database column |
getColumnUserId | public static String getColumnUserId()(Code) | | Returns the column name for the event 'user id' database column.
the column name for the event 'user id' database column |
getTableName | public static String getTableName()(Code) | | Returns the event database table name.
the event database table name |
Methods inherited from org.openharmonise.rm.logging.AbstractEventLogger | public void logEvent(LogEvent event) throws LogException(Code)(Java Doc) abstract protected void saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, Map headers) throws LogException(Code)(Java Doc) abstract protected void saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, String sAdditional) throws LogException(Code)(Java Doc)
|
|
|