Java Doc for DODSEventAuditManager.java in  » Workflow-Engines » shark » org » enhydra » shark » eventaudit » 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 » Workflow Engines » shark » org.enhydra.shark.eventaudit 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.enhydra.shark.eventaudit.DODSEventAuditManager

DODSEventAuditManager
public class DODSEventAuditManager implements EventAuditManagerInterface(Code)
Used to save, restore or delete relevant engine objects from database, using DODS persistent layer.
author:
   Tanja Jovanovic
version:
   1.0


Field Summary
final protected static  shortDB_TYPE_BLOB
    
final protected static  shortDB_TYPE_BOOLEAN
    
final protected static  shortDB_TYPE_DATE
    
final protected static  shortDB_TYPE_DOUBLE
    
final protected static  shortDB_TYPE_LONG
    
final protected static  shortDB_TYPE_VCHAR
    
final protected static  shortDB_TYPE_XML
    
final protected static  StringLOG_CHANNEL
    
final protected static  intMAX_VCHAR_SIZE_LIMIT
    
protected  Map_acStates
    
protected  Map_evTypes
    
protected  Map_prStates
    
protected  CallbackUtilitiescus
    
protected  LogicalDatabasedb
    
final protected static  String[]eventTypes
    
protected static  intmax_vchar_size
    
protected  booleanpersistOldEventAuditData
    
protected  booleanstoreArraysAsBLOBs
    
protected  booleanusingStandardVariableDataModel
    


Method Summary
protected  DBTransaction__getDBTransaction()
    
public  voidconfigure(CallbackUtilities cb)
    
public  voiddelete(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject aea)
    
public  voiddelete(WMSessionHandle shandle, DataEventAuditPersistenceObject dea)
    
public  voiddelete(WMSessionHandle shandle, StateEventAuditPersistenceObject sea)
    
public  voiddelete(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject cpea)
    
protected  ObjectgetNewEventAuditDataBLOB(WMSessionHandle sh, NewEventAuditDataDO newEventAuditDataDO)
    
protected  ObjectgetNewEventAuditDataWOB(WMSessionHandle sh, NewEventAuditDataWOBDO theDO)
    
public  BigDecimalgetNextDecId(String idName)
    
protected  ObjectgetOldEventAuditDataBLOB(WMSessionHandle sh, OldEventAuditDataDO oldEventAuditDataDO)
    
protected  ObjectgetOldEventAuditDataWOB(WMSessionHandle sh, OldEventAuditDataWOBDO theDO)
    
protected  ActivityStateEventAuditDOgetPersistedActivityStateObject(String value, boolean searchByKeyValue)
    
protected  AssignmentEventAuditDO[]getPersistedAssignmentEventObjects(String pId, String aId)
    
protected  CreateProcessEventAuditDO[]getPersistedCreateProcessEventObjects(String pId)
    
protected  DataEventAuditDO[]getPersistedDataEventObjects(String pId, String aId)
    
protected  EventTypeDOgetPersistedEventTypeObject(String value, boolean searchByKeyValue)
    
protected  NewEventAuditDataDOgetPersistedNewEventAuditDataObject(DataEventAuditDO deaDO, String vdId)
    
protected  AssignmentEventAuditDOgetPersistedObject(AssignmentEventAuditPersistenceObject aea)
    
protected  DataEventAuditDOgetPersistedObject(DataEventAuditPersistenceObject dea)
    
protected  StateEventAuditDOgetPersistedObject(StateEventAuditPersistenceObject sea)
    
protected  CreateProcessEventAuditDOgetPersistedObject(CreateProcessEventAuditPersistenceObject cpea)
    
protected  OldEventAuditDataDOgetPersistedOldEventAuditDataObject(DataEventAuditDO deaDO, String vdId)
    
protected  ProcessStateEventAuditDOgetPersistedProcessStateObject(String value, boolean searchByKeyValue)
    
protected  StateEventAuditDO[]getPersistedStateEventObjects(String pId, String aId)
    
protected  voidinitActivityAndProcessStatesTable()
     Fills the state table with possible activity and process states.
public  voidpersist(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject aea)
    
public  voidpersist(WMSessionHandle shandle, DataEventAuditPersistenceObject dea)
    
public  voidpersist(WMSessionHandle shandle, StateEventAuditPersistenceObject sea)
    
public  voidpersist(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject cpea)
    
protected  voidpersistNewEventAuditDataBLOB(WMSessionHandle shandle, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO)
    
protected  voidpersistNewEventAuditDataBLOB(NewEventAuditDataDO nedDO, Object val)
    
protected  voidpersistNewEventAuditDataWOB(WMSessionHandle shandle, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO)
    
protected  voidpersistNewEventAuditDataWOB(NewEventAuditDataWOBDO nedDO, Object val)
    
protected  voidpersistOldEventAuditDataBLOB(WMSessionHandle shandle, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO)
    
protected  voidpersistOldEventAuditDataBLOB(OldEventAuditDataDO oedDO, Object val)
    
protected  voidpersistOldEventAuditDataWOB(WMSessionHandle shandle, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO)
    
protected  voidpersistOldEventAuditDataWOB(OldEventAuditDataWOBDO oedDO, Object val)
    
protected  voidrefreshDOCaches()
    
public  booleanrestore(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject aea)
    
protected  booleanrestore(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject engineObj, AssignmentEventAuditDO DO)
    
public  booleanrestore(WMSessionHandle shandle, DataEventAuditPersistenceObject dea)
    
protected  booleanrestore(WMSessionHandle shandle, DataEventAuditPersistenceObject engineObj, DataEventAuditDO DO)
    
public  booleanrestore(WMSessionHandle shandle, StateEventAuditPersistenceObject sea)
    
protected  booleanrestore(WMSessionHandle shandle, StateEventAuditPersistenceObject engineObj, StateEventAuditDO DO)
    
public  booleanrestore(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject cpea)
    
protected  booleanrestore(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject engineObj, CreateProcessEventAuditDO DO)
    
public  ListrestoreActivityHistory(WMSessionHandle shandle, String procId, String actId)
    
protected  voidrestoreNewEventAuditDataBLOB(WMSessionHandle sh, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO)
    
protected  voidrestoreNewEventAuditDataWOB(WMSessionHandle sh, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO)
    
protected  voidrestoreOldEventAuditDataBLOB(WMSessionHandle sh, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO)
    
protected  voidrestoreOldEventAuditDataWOB(WMSessionHandle sh, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO)
    
public  ListrestoreProcessHistory(WMSessionHandle shandle, String procId)
    
protected  voidsetLDBName()
    

Field Detail
DB_TYPE_BLOB
final protected static short DB_TYPE_BLOB(Code)



DB_TYPE_BOOLEAN
final protected static short DB_TYPE_BOOLEAN(Code)



DB_TYPE_DATE
final protected static short DB_TYPE_DATE(Code)



DB_TYPE_DOUBLE
final protected static short DB_TYPE_DOUBLE(Code)



DB_TYPE_LONG
final protected static short DB_TYPE_LONG(Code)



DB_TYPE_VCHAR
final protected static short DB_TYPE_VCHAR(Code)



DB_TYPE_XML
final protected static short DB_TYPE_XML(Code)



LOG_CHANNEL
final protected static String LOG_CHANNEL(Code)



MAX_VCHAR_SIZE_LIMIT
final protected static int MAX_VCHAR_SIZE_LIMIT(Code)



_acStates
protected Map _acStates(Code)



_evTypes
protected Map _evTypes(Code)



_prStates
protected Map _prStates(Code)



cus
protected CallbackUtilities cus(Code)



db
protected LogicalDatabase db(Code)



eventTypes
final protected static String[] eventTypes(Code)



max_vchar_size
protected static int max_vchar_size(Code)



persistOldEventAuditData
protected boolean persistOldEventAuditData(Code)



storeArraysAsBLOBs
protected boolean storeArraysAsBLOBs(Code)



usingStandardVariableDataModel
protected boolean usingStandardVariableDataModel(Code)





Method Detail
__getDBTransaction
protected DBTransaction __getDBTransaction() throws Exception(Code)



configure
public void configure(CallbackUtilities cb) throws Exception(Code)



delete
public void delete(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject aea) throws EventAuditException(Code)



delete
public void delete(WMSessionHandle shandle, DataEventAuditPersistenceObject dea) throws EventAuditException(Code)



delete
public void delete(WMSessionHandle shandle, StateEventAuditPersistenceObject sea) throws EventAuditException(Code)



delete
public void delete(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject cpea) throws EventAuditException(Code)



getNewEventAuditDataBLOB
protected Object getNewEventAuditDataBLOB(WMSessionHandle sh, NewEventAuditDataDO newEventAuditDataDO) throws Throwable(Code)



getNewEventAuditDataWOB
protected Object getNewEventAuditDataWOB(WMSessionHandle sh, NewEventAuditDataWOBDO theDO) throws Throwable(Code)



getNextDecId
public BigDecimal getNextDecId(String idName) throws EventAuditException(Code)



getOldEventAuditDataBLOB
protected Object getOldEventAuditDataBLOB(WMSessionHandle sh, OldEventAuditDataDO oldEventAuditDataDO) throws Throwable(Code)



getOldEventAuditDataWOB
protected Object getOldEventAuditDataWOB(WMSessionHandle sh, OldEventAuditDataWOBDO theDO) throws Throwable(Code)



getPersistedActivityStateObject
protected ActivityStateEventAuditDO getPersistedActivityStateObject(String value, boolean searchByKeyValue) throws EventAuditException(Code)



getPersistedAssignmentEventObjects
protected AssignmentEventAuditDO[] getPersistedAssignmentEventObjects(String pId, String aId) throws EventAuditException(Code)



getPersistedCreateProcessEventObjects
protected CreateProcessEventAuditDO[] getPersistedCreateProcessEventObjects(String pId) throws EventAuditException(Code)



getPersistedDataEventObjects
protected DataEventAuditDO[] getPersistedDataEventObjects(String pId, String aId) throws EventAuditException(Code)



getPersistedEventTypeObject
protected EventTypeDO getPersistedEventTypeObject(String value, boolean searchByKeyValue) throws EventAuditException(Code)



getPersistedNewEventAuditDataObject
protected NewEventAuditDataDO getPersistedNewEventAuditDataObject(DataEventAuditDO deaDO, String vdId) throws EventAuditException(Code)



getPersistedObject
protected AssignmentEventAuditDO getPersistedObject(AssignmentEventAuditPersistenceObject aea) throws EventAuditException(Code)



getPersistedObject
protected DataEventAuditDO getPersistedObject(DataEventAuditPersistenceObject dea) throws EventAuditException(Code)



getPersistedObject
protected StateEventAuditDO getPersistedObject(StateEventAuditPersistenceObject sea) throws EventAuditException(Code)



getPersistedObject
protected CreateProcessEventAuditDO getPersistedObject(CreateProcessEventAuditPersistenceObject cpea) throws EventAuditException(Code)



getPersistedOldEventAuditDataObject
protected OldEventAuditDataDO getPersistedOldEventAuditDataObject(DataEventAuditDO deaDO, String vdId) throws EventAuditException(Code)



getPersistedProcessStateObject
protected ProcessStateEventAuditDO getPersistedProcessStateObject(String value, boolean searchByKeyValue) throws EventAuditException(Code)



getPersistedStateEventObjects
protected StateEventAuditDO[] getPersistedStateEventObjects(String pId, String aId) throws EventAuditException(Code)



initActivityAndProcessStatesTable
protected void initActivityAndProcessStatesTable() throws EventAuditException(Code)
Fills the state table with possible activity and process states. For now, the 'keyValue' and the 'name' attribute of state record has the same value, but in the future, if the names of states changes, it will be very easy to change this table entries without affecting other tables. NOTE: When new names are introduced, the getPersistentXXX that use it also has to be changed
Parameters:
  dbName -



persist
public void persist(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject aea) throws EventAuditException(Code)



persist
public void persist(WMSessionHandle shandle, DataEventAuditPersistenceObject dea) throws EventAuditException(Code)



persist
public void persist(WMSessionHandle shandle, StateEventAuditPersistenceObject sea) throws EventAuditException(Code)



persist
public void persist(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject cpea) throws EventAuditException(Code)



persistNewEventAuditDataBLOB
protected void persistNewEventAuditDataBLOB(WMSessionHandle shandle, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO) throws EventAuditException(Code)



persistNewEventAuditDataBLOB
protected void persistNewEventAuditDataBLOB(NewEventAuditDataDO nedDO, Object val) throws Exception(Code)



persistNewEventAuditDataWOB
protected void persistNewEventAuditDataWOB(WMSessionHandle shandle, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO) throws EventAuditException(Code)



persistNewEventAuditDataWOB
protected void persistNewEventAuditDataWOB(NewEventAuditDataWOBDO nedDO, Object val) throws Exception(Code)



persistOldEventAuditDataBLOB
protected void persistOldEventAuditDataBLOB(WMSessionHandle shandle, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO) throws EventAuditException(Code)



persistOldEventAuditDataBLOB
protected void persistOldEventAuditDataBLOB(OldEventAuditDataDO oedDO, Object val) throws Exception(Code)



persistOldEventAuditDataWOB
protected void persistOldEventAuditDataWOB(WMSessionHandle shandle, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO) throws EventAuditException(Code)



persistOldEventAuditDataWOB
protected void persistOldEventAuditDataWOB(OldEventAuditDataWOBDO oedDO, Object val) throws Exception(Code)



refreshDOCaches
protected void refreshDOCaches() throws Exception(Code)



restore
public boolean restore(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject aea) throws EventAuditException(Code)



restore
protected boolean restore(WMSessionHandle shandle, AssignmentEventAuditPersistenceObject engineObj, AssignmentEventAuditDO DO) throws EventAuditException(Code)



restore
public boolean restore(WMSessionHandle shandle, DataEventAuditPersistenceObject dea) throws EventAuditException(Code)



restore
protected boolean restore(WMSessionHandle shandle, DataEventAuditPersistenceObject engineObj, DataEventAuditDO DO) throws EventAuditException(Code)



restore
public boolean restore(WMSessionHandle shandle, StateEventAuditPersistenceObject sea) throws EventAuditException(Code)



restore
protected boolean restore(WMSessionHandle shandle, StateEventAuditPersistenceObject engineObj, StateEventAuditDO DO) throws EventAuditException(Code)



restore
public boolean restore(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject cpea) throws EventAuditException(Code)



restore
protected boolean restore(WMSessionHandle shandle, CreateProcessEventAuditPersistenceObject engineObj, CreateProcessEventAuditDO DO) throws EventAuditException(Code)



restoreActivityHistory
public List restoreActivityHistory(WMSessionHandle shandle, String procId, String actId) throws EventAuditException(Code)



restoreNewEventAuditDataBLOB
protected void restoreNewEventAuditDataBLOB(WMSessionHandle sh, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO) throws EventAuditException(Code)



restoreNewEventAuditDataWOB
protected void restoreNewEventAuditDataWOB(WMSessionHandle sh, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO) throws EventAuditException(Code)



restoreOldEventAuditDataBLOB
protected void restoreOldEventAuditDataBLOB(WMSessionHandle sh, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO) throws EventAuditException(Code)



restoreOldEventAuditDataWOB
protected void restoreOldEventAuditDataWOB(WMSessionHandle sh, DataEventAuditPersistenceObject dea, DataEventAuditDO deaDO) throws EventAuditException(Code)



restoreProcessHistory
public List restoreProcessHistory(WMSessionHandle shandle, String procId) throws EventAuditException(Code)



setLDBName
protected void setLDBName()(Code)



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.