01: /*
02: * $Id: WfEventAudit.java,v 1.1 2003/08/17 09:29:33 ajzeneski Exp $
03: *
04: * Copyright (c) 2001, 2002 The Open For Business Project - www.ofbiz.org
05: *
06: * Permission is hereby granted, free of charge, to any person obtaining a
07: * copy of this software and associated documentation files (the "Software"),
08: * to deal in the Software without restriction, including without limitation
09: * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10: * and/or sell copies of the Software, and to permit persons to whom the
11: * Software is furnished to do so, subject to the following conditions:
12: *
13: * The above copyright notice and this permission notice shall be included
14: * in all copies or substantial portions of the Software.
15: *
16: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17: * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18: * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19: * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20: * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
21: * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
22: * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23: *
24: */
25: package org.ofbiz.workflow;
26:
27: import java.sql.Timestamp;
28:
29: /**
30: * WfEventAudit - Workflow Event Audit Interface
31: *
32: * @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
33: * @version $Revision: 1.1 $
34: * @since 2.0
35: */
36: public interface WfEventAudit {
37:
38: /**
39: * @throws WfException
40: * @throws SourceNotAvailable
41: * @return
42: */
43: public WfExecutionObject source() throws WfException,
44: SourceNotAvailable;
45:
46: /**
47: * @throws WfException
48: * @return
49: */
50: public Timestamp timeStamp() throws WfException;
51:
52: /**
53: * @throws WfException
54: * @return
55: */
56: public String eventType() throws WfException;
57:
58: /**
59: * @throws WfException
60: * @return
61: */
62: public String activityKey() throws WfException;
63:
64: /**
65: * @throws WfException
66: * @return
67: */
68: public String activityName() throws WfException;
69:
70: /**
71: * @throws WfException
72: * @return
73: */
74: public String processKey() throws WfException;
75:
76: /**
77: * @throws WfException
78: * @return
79: */
80: public String processName() throws WfException;
81:
82: /**
83: * @throws WfException
84: * @return
85: */
86: public String processMgrName() throws WfException;
87:
88: /**
89: * @throws WfException
90: * @return
91: */
92: public String processMgrVersion() throws WfException;
93:
94: } // interface WfEventAuditOperations
|