Source code: domain/VolatileMgr.java
1 /*
2 * This file is part of the WfMCore/WfMOpen project.
3 * Copyright (C) 2001-2003 Danet GmbH (www.danet.de), GS-AN.
4 * All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 * $Id: VolatileMgr.java,v 1.3 2003/06/27 09:44:13 lipp Exp $
21 *
22 * $Log: VolatileMgr.java,v $
23 * Revision 1.3 2003/06/27 09:44:13 lipp
24 * Fixed copyright/license information.
25 *
26 * Revision 1.2 2003/04/26 16:12:35 lipp
27 * Moved some classes to reduce package dependencies.
28 *
29 * Revision 1.1 2002/10/09 14:27:33 lipp
30 * Intermediate, compilable state.
31 *
32 */
33 package domain;
34
35 import java.util.Collection;
36
37 import java.rmi.RemoteException;
38
39 import de.danet.an.workflow.omgcore.InvalidRequesterException;
40 import de.danet.an.workflow.omgcore.NotEnabledException;
41 import de.danet.an.workflow.omgcore.ProcessDataInfo;
42 import de.danet.an.workflow.omgcore.RequesterRequiredException;
43 import de.danet.an.workflow.omgcore.TransitionNotAllowedException;
44 import de.danet.an.workflow.omgcore.WfProcess;
45 import de.danet.an.workflow.omgcore.WfProcessMgr;
46 import de.danet.an.workflow.omgcore.WfRequester;
47
48 /**
49 * This class provides ...
50 *
51 * @author <a href="mailto:lipp@danet.de"></a>
52 * @version $Revision: 1.3 $
53 */
54
55 public class VolatileMgr implements WfProcessMgr {
56
57 /**
58 * Creates an instance of <code>VolatileMgr</code>
59 * with all attributes initialized to default values.
60 */
61 public VolatileMgr () {
62
63 }
64
65 // Implementation of de.danet.an.workflow.omgcore.WfProcessMgr
66
67 /**
68 * Describe <code>name</code> method here.
69 *
70 * @return a <code>String</code> value
71 * @exception RemoteException if an error occurs
72 */
73 public String name() throws RemoteException {
74 return "TestProcess";
75 }
76
77 /**
78 * Describe <code>version</code> method here.
79 *
80 * @return a <code>String</code> value
81 * @exception RemoteException if an error occurs
82 */
83 public String version() throws RemoteException {
84 return "(no version)";
85 }
86
87 /**
88 * Describe <code>processes</code> method here.
89 *
90 * @return a <code>Collection</code> value
91 * @exception RemoteException if an error occurs
92 */
93 public Collection processes() throws RemoteException {
94 throw new UnsupportedOperationException ();
95 }
96
97 /**
98 * Describe <code>processMgrState</code> method here.
99 *
100 * @return an <code>int</code> value
101 * @exception RemoteException if an error occurs
102 */
103 public int processMgrState() throws RemoteException {
104 throw new UnsupportedOperationException ();
105 }
106
107 /**
108 * Describe <code>setProcessMgrState</code> method here.
109 *
110 * @param n an <code>int</code> value
111 * @exception RemoteException if an error occurs
112 * @exception TransitionNotAllowedException if an error occurs
113 */
114 public void setProcessMgrState(int n)
115 throws RemoteException, TransitionNotAllowedException {
116 throw new UnsupportedOperationException ();
117 }
118
119 /**
120 * Describe <code>description</code> method here.
121 *
122 * @return a <code>String</code> value
123 * @exception RemoteException if an error occurs
124 */
125 public String description() throws RemoteException {
126 throw new UnsupportedOperationException ();
127 }
128
129 /**
130 * Describe <code>category</code> method here.
131 *
132 * @return a <code>String</code> value
133 * @exception RemoteException if an error occurs
134 */
135 public String category() throws RemoteException {
136 throw new UnsupportedOperationException ();
137 }
138
139 /**
140 * Describe <code>contextSignature</code> method here.
141 *
142 * @return a <code>ProcessDataInfo</code> value
143 * @exception RemoteException if an error occurs
144 */
145 public ProcessDataInfo contextSignature() throws RemoteException {
146 throw new UnsupportedOperationException ();
147 }
148
149 /**
150 * Describe <code>resultSignature</code> method here.
151 *
152 * @return a <code>ProcessDataInfo</code> value
153 * @exception RemoteException if an error occurs
154 */
155 public ProcessDataInfo resultSignature() throws RemoteException {
156 throw new UnsupportedOperationException ();
157 }
158
159 /**
160 * Describe <code>createProcess</code> method here.
161 *
162 * @param wfRequester a <code>WfRequester</code> value
163 * @return a <code>WfProcess</code> value
164 * @exception RemoteException if an error occurs
165 * @exception NotEnabledException if an error occurs
166 * @exception InvalidRequesterException if an error occurs
167 * @exception RequesterRequiredException if an error occurs
168 */
169 public WfProcess createProcess(WfRequester wfRequester)
170 throws RemoteException, NotEnabledException,
171 InvalidRequesterException, RequesterRequiredException {
172 throw new UnsupportedOperationException ();
173 }
174
175 }