Java Doc for DefaultAuditEvent.java in  » Workflow-Engines » wfmopen-2.1.1 » de » danet » an » workflow » domain » 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 » wfmopen 2.1.1 » de.danet.an.workflow.domain 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.util.EventObject
      de.danet.an.workflow.domain.DefaultAuditEvent

All known Subclasses:   de.danet.an.workflow.domain.DefaultDataAuditEvent,  de.danet.an.workflow.domain.DefaultAssignmentAuditEvent,  de.danet.an.workflow.domain.ToolInvocationFailedAuditEvent,  de.danet.an.workflow.domain.ImplCompleteAuditEvent,  de.danet.an.workflow.domain.DefaultCreateProcessAuditEvent,  de.danet.an.workflow.domain.DefaultStateAuditEvent,
DefaultAuditEvent
public class DefaultAuditEvent extends EventObject implements WfAuditEvent,Serializable(Code)

A DefaultAuditEvent implements an audit record of workflow event information.

It provides information on the source of the event and contains specific event data. Workflow events include state changes, change of a resource assignment, and data changes. Workflow events are persistent and can be accessed navigating the history relationship of a WfExecutionObject.

Workflow audit event objects are not part of the persistent state of their source workflow object.




Constructor Summary
protected  DefaultAuditEvent(Object source)
     Create a DefaultAuditEvent related to the given WfExecutionObject.
protected  DefaultAuditEvent(WfAuditEvent baseInfo)
     Create a DefaultAuditEvent triggered by a given WfExecutionObject.
protected  DefaultAuditEvent(WfAuditEvent baseInfo, boolean skip)
     Create a DefaultAuditEvent triggered by a given WfExecutionObject.
Parameters:
  baseInfo - a WfAuditEvent containing furtherinformation for the event.
Parameters:
  skip - if true the event will not be processed(i.e.
protected  DefaultAuditEvent(Object source, DefaultAuditEvent baseInfo)
     Create a DefaultAuditEvent with the given WfExecutionObject as source and all other attributes copied from the given event.
public  DefaultAuditEvent(WfActivity source, String eventType, String actKey, String actName, WfAuditEvent processInfo)
     Creates a new DefaultAuditEvent containing process-related and activity-related information, only.
public  DefaultAuditEvent(WfActivity source, String eventType, Date timestamp, String actKey, String actName, String processKey, String processName, String processMgrName, String processMgrVersion, int auditEventSelection, boolean store)
     Creates a new DefaultAuditEvent containing process-related and activity-related information. This descriptor's intention is for re-creation usage, only.
Parameters:
  source - the activity which is the originator of the audit event.
public  DefaultAuditEvent(WfProcess source, String eventType, String processKey, String processName, String processMgrName, String processMgrVersion, int auditEventSelection, boolean store)
     Creates a new DefaultAuditEvent containing process-related information, only.
public  DefaultAuditEvent(WfProcess source, String eventType, Date timestamp, String processKey, String processName, String processMgrName, String processMgrVersion, int auditEventSelection, boolean store)
     Creates a new DefaultAuditEvent containing process-related information, only.

Method Summary
public  StringactivityKey()
     Returns the current value of the attribute activityKey.
public  StringactivityName()
     Returns the current value of the attribute activityName.
public  intauditEventSelection()
     Returns the audit event selection of the source of this event.
public  StringeventType()
     Returns the current value of the attribute eventType.
public  ObjectgetSource()
     Override getSource to do deferred unmarshalling if required.
public  StringprocessKey()
     Returns the current value of the attribute processKey.
public  StringprocessMgrName()
     Returns the current value of the attribute processMgrName.
public  StringprocessMgrVersion()
     Returns the current value of the attribute processMgrVersion.
public  StringprocessName()
     Returns the current value of the attribute processName.
public  DefaultAuditEventreplaceSource(Object source)
     Return a new audit event object with the source attribute replaced with the given object.
public  booleanskip()
     Indicates if the event is to be processed (i.e.
public  WfExecutionObjectsource()
     Returns the current value of the attribute source. The source of the event is the WfExceutionObject associated to the event, i.e.
public  booleanstore()
     Indicates if the event is to be stored in the database.
public  DatetimeStamp()
     Returns the current value of the attribute timeStamp.
public  StringtoString()
     Returns a textual representation of the event.


Constructor Detail
DefaultAuditEvent
protected DefaultAuditEvent(Object source)(Code)
Create a DefaultAuditEvent related to the given WfExecutionObject.
Parameters:
  source - the related object.



DefaultAuditEvent
protected DefaultAuditEvent(WfAuditEvent baseInfo)(Code)
Create a DefaultAuditEvent triggered by a given WfExecutionObject.
Parameters:
  baseInfo - a WfAuditEvent containing furtherinformation for the event.



DefaultAuditEvent
protected DefaultAuditEvent(WfAuditEvent baseInfo, boolean skip)(Code)
Create a DefaultAuditEvent triggered by a given WfExecutionObject.
Parameters:
  baseInfo - a WfAuditEvent containing furtherinformation for the event.
Parameters:
  skip - if true the event will not be processed(i.e. fed back to the engine) when retrieved from the event queue.



DefaultAuditEvent
protected DefaultAuditEvent(Object source, DefaultAuditEvent baseInfo)(Code)
Create a DefaultAuditEvent with the given WfExecutionObject as source and all other attributes copied from the given event.
Parameters:
  source - the value for the source attribute.
Parameters:
  baseInfo - a WfAuditEvent containing furtherinformation for the event.



DefaultAuditEvent
public DefaultAuditEvent(WfActivity source, String eventType, String actKey, String actName, WfAuditEvent processInfo)(Code)
Creates a new DefaultAuditEvent containing process-related and activity-related information, only.
Parameters:
  source - the activity which is the originator of the audit event.
Parameters:
  eventType - the event's type identifier.
Parameters:
  actKey - the attribute activityKey.
Parameters:
  actName - the attribute activityName.
Parameters:
  processInfo - a WfAuditEvent containingprocess-related information about the process that contains theactivity.



DefaultAuditEvent
public DefaultAuditEvent(WfActivity source, String eventType, Date timestamp, String actKey, String actName, String processKey, String processName, String processMgrName, String processMgrVersion, int auditEventSelection, boolean store)(Code)
Creates a new DefaultAuditEvent containing process-related and activity-related information. This descriptor's intention is for re-creation usage, only.
Parameters:
  source - the activity which is the originator of the audit event.
Parameters:
  eventType - the event's type identifier.
Parameters:
  timestamp - the event time.
Parameters:
  actKey - the attribute activityKey.
Parameters:
  actName - the attribute activityName.
Parameters:
  processKey - the attribute processKey.
Parameters:
  processName - the attribute processName.
Parameters:
  processMgrName - the attribute processMgrName.
Parameters:
  processMgrVersion - the attribute processMgrVersion.
Parameters:
  auditEventSelection - the audit event selection of source
Parameters:
  store - if true the event will be stored inthe database



DefaultAuditEvent
public DefaultAuditEvent(WfProcess source, String eventType, String processKey, String processName, String processMgrName, String processMgrVersion, int auditEventSelection, boolean store)(Code)
Creates a new DefaultAuditEvent containing process-related information, only.
Parameters:
  source - the process which is the originator of the audit event
Parameters:
  eventType - the event's type identifier
Parameters:
  processKey - the attribute processKey.
Parameters:
  processName - the attribute processName.
Parameters:
  processMgrName - the attribute processMgrName.
Parameters:
  processMgrVersion - the attribute processMgrVersion.
Parameters:
  auditEventSelection - the audit event selection of source
Parameters:
  store - if true the event will be stored inthe database



DefaultAuditEvent
public DefaultAuditEvent(WfProcess source, String eventType, Date timestamp, String processKey, String processName, String processMgrName, String processMgrVersion, int auditEventSelection, boolean store)(Code)
Creates a new DefaultAuditEvent containing process-related information, only.
Parameters:
  source - the process which is the originator of the audit event
Parameters:
  eventType - the event's type identifier
Parameters:
  timestamp - the event's timestamp
Parameters:
  processKey - the attribute processKey.
Parameters:
  processName - the attribute processName.
Parameters:
  processMgrName - the attribute processMgrName.
Parameters:
  processMgrVersion - the attribute processMgrVersion.
Parameters:
  auditEventSelection - the audit event selection of source
Parameters:
  store - if true the event will be stored inthe database




Method Detail
activityKey
public String activityKey()(Code)
Returns the current value of the attribute activityKey. the current value of the attribute.



activityName
public String activityName()(Code)
Returns the current value of the attribute activityName. the current value of the attribute.



auditEventSelection
public int auditEventSelection()(Code)
Returns the audit event selection of the source of this event. the audit event selection



eventType
public String eventType()(Code)
Returns the current value of the attribute eventType. the current value of the attribute.



getSource
public Object getSource()(Code)
Override getSource to do deferred unmarshalling if required.



processKey
public String processKey()(Code)
Returns the current value of the attribute processKey. the current value of the attribute.



processMgrName
public String processMgrName()(Code)
Returns the current value of the attribute processMgrName. the current value of the attribute.



processMgrVersion
public String processMgrVersion()(Code)
Returns the current value of the attribute processMgrVersion. the current value of the attribute.



processName
public String processName()(Code)
Returns the current value of the attribute processName. the current value of the attribute.



replaceSource
public DefaultAuditEvent replaceSource(Object source)(Code)
Return a new audit event object with the source attribute replaced with the given object. Derived classes must override this method and return an object of the derived type.
Parameters:
  source - the new source attribute. the new audit event.



skip
public boolean skip()(Code)
Indicates if the event is to be processed (i.e. fed back to the event queue). true if the event is not to be processed.



source
public WfExecutionObject source() throws SourceNotAvailableException(Code)
Returns the current value of the attribute source. The source of the event is the WfExceutionObject associated to the event, i.e. that triggered the event. the current value of the attribute.
throws:
  SourceNotAvailableException - if the source is not available.



store
public boolean store()(Code)
Indicates if the event is to be stored in the database. true if the event is not to be processed.



timeStamp
public Date timeStamp()(Code)
Returns the current value of the attribute timeStamp. the current value of the attribute.



toString
public String toString()(Code)
Returns a textual representation of the event. the textual representation



Fields inherited from java.util.EventObject
protected transient Object source(Code)(Java Doc)

Methods inherited from java.util.EventObject
public Object getSource()(Code)(Java Doc)
public String toString()(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.