Java Doc for DBEventLogger.java in  » Content-Management-System » harmonise » org » openharmonise » rm » logging » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » harmonise » org.openharmonise.rm.logging 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 $


Field Summary
final public static  StringNAME_VALUE_SEPARATOR
    
final public static  StringPAIR_SEPARATOR
    

Constructor Summary
public  DBEventLogger(AbstractDataStoreInterface dsi)
    

Method Summary
public static  StringgetColumnAction()
     Returns the column name for the event 'action' database column.
public static  StringgetColumnEventId()
     Returns the column name for the event 'id' database column.
public static  StringgetColumnHeaderInfo()
     Returns the column name for the event 'header info' database column.
public static  StringgetColumnIPAddress()
     Returns the column name for the event 'IP address' database column.
public static  StringgetColumnObjectId()
     Returns the column name for the event 'object id' database column.
public static  StringgetColumnObjectType()
     Returns the column name for the event 'object type' database column.
public static  StringgetColumnReferer()
     Returns the column name for the event 'referer' database column.
public static  StringgetColumnSessionId()
     Returns the column name for the event 'session id' database column.
public static  StringgetColumnTimestamp()
     Returns the column name for the event 'timestamp' database column.
public static  StringgetColumnUserAgent()
     Returns the column name for the event 'user agent' database column.
public static  StringgetColumnUserId()
     Returns the column name for the event 'user id' database column.
public static  StringgetTableName()
     Returns the event database table name.
protected  voidsaveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, Map headers)
    
protected  voidsaveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, String sAdditional)
    

Field Detail
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




Constructor Detail
DBEventLogger
public DBEventLogger(AbstractDataStoreInterface dsi)(Code)
Creates an instance of a database event logger




Method Detail
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



saveData
protected void saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, Map headers) throws LogException(Code)



saveData
protected void saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, String sAdditional) throws LogException(Code)



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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.