Source Code Cross Referenced for WMATargetWorkflow.java in  » Workflow-Engines » obe-1.0 » org » wfmc » audit » 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 » obe 1.0 » org.wfmc.audit 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*--
002:
003:         Copyright (C) 2002 Anthony Eden.
004:         All rights reserved.
005:
006:         Redistribution and use in source and binary forms, with or without
007:         modification, are permitted provided that the following conditions
008:         are met:
009:
010:         1. Redistributions of source code must retain the above copyright
011:            notice, this list of conditions, and the following disclaimer.
012:
013:         2. Redistributions in binary form must reproduce the above copyright
014:            notice, this list of conditions, and the disclaimer that follows
015:            these conditions in the documentation and/or other materials
016:            provided with the distribution.
017:
018:         3. The names "OBE" and "Open Business Engine" must not be used to
019:         	endorse or promote products derived from this software without prior
020:         	written permission.  For written permission, please contact
021:         	me@anthonyeden.com.
022:
023:         4. Products derived from this software may not be called "OBE" or
024:         	"Open Business Engine", nor may "OBE" or "Open Business Engine"
025:         	appear in their name, without prior written permission from
026:         	Anthony Eden (me@anthonyeden.com).
027:
028:         In addition, I request (but do not require) that you include in the
029:         end-user documentation provided with the redistribution and/or in the
030:         software itself an acknowledgement equivalent to the following:
031:             "This product includes software developed by
032:              Anthony Eden (http://www.anthonyeden.com/)."
033:
034:         THIS SOFTWARE IS PROVIdED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
035:         WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
036:         OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
037:         DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT,
038:         INDIRECT, INCIdENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
039:         (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
040:         SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
041:         HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
042:         STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
043:         IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
044:         POSSIBILITY OF SUCH DAMAGE.
045:
046:         For more information on OBE, please see <http://obe.sourceforge.net/>.
047:
048:         */
049:
050:        package org.wfmc.audit;
051:
052:        import java.util.Date;
053:
054:        /**
055:         * @author Antony Lodge
056:         */
057:        public abstract class WMATargetWorkflow extends WMARemoteAuditBase {
058:            private static final long serialVersionUID = -1252315675931687942L;
059:
060:            private String sourceInitialProcessInstanceId;
061:            private String sourceCurrentProcessInstanceId;
062:            private String sourceActivityInstanceId;
063:            private Date sourceTimestamp;
064:            private String sourceNodeId;
065:            private String sourceUserId;
066:            private String sourceRoleId;
067:            private String sourceProcessDefinitionId;
068:            private String sourceProcessDefinitionBusinessName;
069:            private String sourceActivityDefinitionBusinessName;
070:
071:            protected WMATargetWorkflow() {
072:            }
073:
074:            /**
075:             * @param cwadPrefix
076:             * @param messageId
077:             * @param extensionNumber
078:             * @param extensionType
079:             * @param sourceConversationId
080:             * @param targetConversationId
081:             * @param sourceInitialProcessInstanceId
082:             * @param sourceCurrentProcessInstanceId
083:             * @param sourceActivityInstanceId
084:             * @param sourceTimestamp
085:             * @param sourceNodeId
086:             * @param sourceUserId
087:             * @param sourceRoleId
088:             * @param sourceProcessDefinitionId
089:             * @param sourceProcessDefinitionBusinessName
090:             *
091:             * @param sourceActivityDefinitionBusinessName
092:             *
093:             */
094:            protected WMATargetWorkflow(CWADPrefix cwadPrefix,
095:                    String messageId, short extensionNumber,
096:                    String extensionType, String sourceConversationId,
097:                    String targetConversationId,
098:                    String sourceInitialProcessInstanceId,
099:                    String sourceCurrentProcessInstanceId,
100:                    String sourceActivityInstanceId, Date sourceTimestamp,
101:                    String sourceNodeId, String sourceUserId,
102:                    String sourceRoleId, String sourceProcessDefinitionId,
103:                    String sourceProcessDefinitionBusinessName,
104:                    String sourceActivityDefinitionBusinessName) {
105:
106:                super (cwadPrefix, messageId, extensionNumber, extensionType,
107:                        sourceConversationId, targetConversationId);
108:
109:                this .sourceInitialProcessInstanceId = sourceInitialProcessInstanceId;
110:                this .sourceCurrentProcessInstanceId = sourceCurrentProcessInstanceId;
111:                this .sourceActivityInstanceId = sourceActivityInstanceId;
112:                this .sourceTimestamp = sourceTimestamp;
113:                this .sourceNodeId = sourceNodeId;
114:                this .sourceUserId = sourceUserId;
115:                this .sourceRoleId = sourceRoleId;
116:                this .sourceProcessDefinitionId = sourceProcessDefinitionId;
117:                this .sourceProcessDefinitionBusinessName = sourceProcessDefinitionBusinessName;
118:                this .sourceActivityDefinitionBusinessName = sourceActivityDefinitionBusinessName;
119:            }
120:
121:            /**
122:             * @return Initial Process Instance Id of source Workflow Engine
123:             */
124:            public String getSourceInitialProcessInstanceId() {
125:                return sourceInitialProcessInstanceId;
126:            }
127:
128:            /**
129:             * @param sourceInitialProcessInstanceId Initial Process Instance Id of
130:             *                                       source Workflow Engine
131:             */
132:            public void setSourceInitialProcessInstanceId(
133:                    String sourceInitialProcessInstanceId) {
134:
135:                this .sourceInitialProcessInstanceId = sourceInitialProcessInstanceId;
136:            }
137:
138:            /**
139:             * @return Current Process Instance Id of source Workflow Engine
140:             */
141:            public String getSourceCurrentProcessInstanceId() {
142:                return sourceCurrentProcessInstanceId;
143:            }
144:
145:            /**
146:             * @param sourceCurrentProcessInstanceId Current Process Instance Id of
147:             *                                       source Workflow Engine
148:             */
149:            public void setSourceCurrentProcessInstanceId(
150:                    String sourceCurrentProcessInstanceId) {
151:
152:                this .sourceCurrentProcessInstanceId = sourceCurrentProcessInstanceId;
153:            }
154:
155:            /**
156:             * @return Activity Instance Id of the source Workflow Engine
157:             */
158:            public String getSourceActivityInstanceId() {
159:                return sourceActivityInstanceId;
160:            }
161:
162:            /**
163:             * @param sourceActivityInstanceId Activity Instance Id of the source
164:             *                                 Workflow Engine
165:             */
166:            public void setSourceActivityInstanceId(
167:                    String sourceActivityInstanceId) {
168:
169:                this .sourceActivityInstanceId = sourceActivityInstanceId;
170:            }
171:
172:            /**
173:             * @return Timestamp of source Workflow Engine event
174:             */
175:            public Date getSourceTimestamp() {
176:                return sourceTimestamp;
177:            }
178:
179:            /**
180:             * @param sourceTimestamp Timestamp of source Workflow Engine event
181:             */
182:            public void setSourceTimestamp(Date sourceTimestamp) {
183:                this .sourceTimestamp = sourceTimestamp;
184:            }
185:
186:            /**
187:             * @return Node Id of sourceWorkflow Engine
188:             */
189:            public String getSourceNodeId() {
190:                return sourceNodeId;
191:            }
192:
193:            /**
194:             * @param sourceNodeId Node Id of sourceWorkflow Engine
195:             */
196:            public void setSourceNodeId(String sourceNodeId) {
197:                this .sourceNodeId = sourceNodeId;
198:            }
199:
200:            /**
201:             * @return User Id associated with the remote Workflow Engine request
202:             */
203:            public String getSourceUserId() {
204:                return sourceUserId;
205:            }
206:
207:            /**
208:             * @param sourceUserId User Id associated with the remote Workflow Engine
209:             *                     request
210:             */
211:            public void setSourceUserId(String sourceUserId) {
212:                this .sourceUserId = sourceUserId;
213:            }
214:
215:            /**
216:             * @return Role Id associated with the remote Workflow Engine request
217:             */
218:            public String getSourceRoleId() {
219:                return sourceRoleId;
220:            }
221:
222:            /**
223:             * @param sourceRoleId Role Id associated with the remote Workflow Engine
224:             *                     request
225:             */
226:            public void setSourceRoleId(String sourceRoleId) {
227:                this .sourceRoleId = sourceRoleId;
228:            }
229:
230:            /**
231:             * @return as supplied by the source Workflow Engine
232:             */
233:            public String getSourceProcessDefinitionId() {
234:                return sourceProcessDefinitionId;
235:            }
236:
237:            /**
238:             * @param sourceProcessDefinitionId as supplied by the source Workflow
239:             *                                  Engine
240:             */
241:            public void setSourceProcessDefinitionId(
242:                    String sourceProcessDefinitionId) {
243:
244:                this .sourceProcessDefinitionId = sourceProcessDefinitionId;
245:            }
246:
247:            /**
248:             * @return Business name of the remote Workflow Engine process that
249:             *         generated the start request
250:             */
251:            public String getSourceProcessDefinitionBusinessName() {
252:                return sourceProcessDefinitionBusinessName;
253:            }
254:
255:            /**
256:             * @param sourceProcessDefinitionBusinessName
257:             *         Business name of the remote
258:             *         Workflow Engine process that generated the start request
259:             */
260:            public void setSourceProcessDefinitionBusinessName(
261:                    String sourceProcessDefinitionBusinessName) {
262:
263:                this .sourceProcessDefinitionBusinessName = sourceProcessDefinitionBusinessName;
264:            }
265:
266:            /**
267:             * @return Business name of the remote Workflow Engine activity that spawned
268:             *         the request
269:             */
270:            public String getSourceActivityDefinitionBusinessName() {
271:                return sourceActivityDefinitionBusinessName;
272:            }
273:
274:            /**
275:             * @param sourceActivityDefinitionBusinessName
276:             *         Business name of the remote
277:             *         Workflow Engine activity that spawned the request
278:             */
279:            public void setSourceActivityDefinitionBusinessName(
280:                    String sourceActivityDefinitionBusinessName) {
281:
282:                this .sourceActivityDefinitionBusinessName = sourceActivityDefinitionBusinessName;
283:            }
284:
285:            public String toString() {
286:                return "WMATargetWorkflow@" + System.identityHashCode(this )
287:                        + '[' + " cwadPrefix=" + formatCwadPrefix()
288:                        + ", messageId=" + getMessageId()
289:                        + ", sourceInitialProcessInstanceId="
290:                        + sourceInitialProcessInstanceId
291:                        + ", sourceCurrentProcessInstanceId="
292:                        + sourceCurrentProcessInstanceId
293:                        + ", sourceActivityInstanceId="
294:                        + sourceActivityInstanceId + ", sourceTimestamp="
295:                        + sourceTimestamp + ", sourceNodeId=" + sourceNodeId
296:                        + ", sourceUserId=" + sourceUserId + ", sourceRoleId="
297:                        + sourceRoleId + ", sourceProcessDefinitionId="
298:                        + sourceProcessDefinitionId
299:                        + ", sourceProcessDefinitionBusinessName='"
300:                        + sourceProcessDefinitionBusinessName + '\''
301:                        + ", sourceActivityDefinitionBusinessName='"
302:                        + sourceActivityDefinitionBusinessName + '\''
303:                        + ", extensionNumber=" + getExtensionNumber()
304:                        + ", extensionType='" + getExtensionType() + '\''
305:                        + ", sourceConversationId='"
306:                        + getSourceConversationId() + '\''
307:                        + ", targetConversationId='"
308:                        + getTargetConversationId() + '\'' + ']';
309:            }
310:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.