001: /*
002: * This file is part of the WfMOpen project.
003: * Copyright (C) 2001-2003 Danet GmbH (www.danet.de), GS-AN.
004: * All rights reserved.
005: *
006: * This program is free software; you can redistribute it and/or modify
007: * it under the terms of the GNU General Public License as published by
008: * the Free Software Foundation; either version 2 of the License, or
009: * (at your option) any later version.
010: *
011: * This program is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014: * GNU General Public License for more details.
015: *
016: * You should have received a copy of the GNU General Public License
017: * along with this program; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
019: *
020: * $Id: VolatileMgr.java,v 1.3 2007/05/03 21:58:24 mlipp Exp $
021: *
022: * $Log: VolatileMgr.java,v $
023: * Revision 1.3 2007/05/03 21:58:24 mlipp
024: * Internal refactoring for making better use of local EJBs.
025: *
026: * Revision 1.2 2006/09/29 12:32:11 drmlipp
027: * Consistently using WfMOpen as projct name now.
028: *
029: * Revision 1.1.1.1 2003/06/30 20:06:59 drmlipp
030: * Initial import
031: *
032: * Revision 1.3 2003/06/27 09:44:13 lipp
033: * Fixed copyright/license information.
034: *
035: * Revision 1.2 2003/04/26 16:12:35 lipp
036: * Moved some classes to reduce package dependencies.
037: *
038: * Revision 1.1 2002/10/09 14:27:33 lipp
039: * Intermediate, compilable state.
040: *
041: */
042: package domain;
043:
044: import java.util.Collection;
045:
046: import de.danet.an.workflow.localcoreapi.WfProcessLocal;
047: import de.danet.an.workflow.omgcore.InvalidRequesterException;
048: import de.danet.an.workflow.omgcore.NotEnabledException;
049: import de.danet.an.workflow.omgcore.ProcessDataInfo;
050: import de.danet.an.workflow.omgcore.RequesterRequiredException;
051: import de.danet.an.workflow.omgcore.TransitionNotAllowedException;
052: import de.danet.an.workflow.omgcore.WfProcess;
053: import de.danet.an.workflow.omgcore.WfProcessMgr;
054: import de.danet.an.workflow.omgcore.WfRequester;
055:
056: /**
057: * This class provides ...
058: *
059: * @author <a href="mailto:lipp@danet.de"></a>
060: * @version $Revision: 1.3 $
061: */
062:
063: public class VolatileMgr implements WfProcessMgr {
064:
065: /**
066: * Creates an instance of <code>VolatileMgr</code>
067: * with all attributes initialized to default values.
068: */
069: public VolatileMgr() {
070:
071: }
072:
073: // Implementation of de.danet.an.workflow.omgcore.WfProcessMgr
074:
075: /**
076: * Describe <code>name</code> method here.
077: *
078: * @return a <code>String</code> value
079: */
080: public String name() {
081: return "TestProcess";
082: }
083:
084: /**
085: * Describe <code>version</code> method here.
086: *
087: * @return a <code>String</code> value
088: */
089: public String version() {
090: return "(no version)";
091: }
092:
093: /**
094: * Describe <code>processes</code> method here.
095: *
096: * @return a <code>Collection</code> value
097: */
098: public Collection processes() {
099: throw new UnsupportedOperationException();
100: }
101:
102: /**
103: * Describe <code>processMgrState</code> method here.
104: *
105: * @return an <code>int</code> value
106: */
107: public int processMgrState() {
108: throw new UnsupportedOperationException();
109: }
110:
111: /**
112: * Describe <code>setProcessMgrState</code> method here.
113: *
114: * @param n an <code>int</code> value
115: * @exception TransitionNotAllowedException if an error occurs
116: */
117: public void setProcessMgrState(int n)
118: throws TransitionNotAllowedException {
119: throw new UnsupportedOperationException();
120: }
121:
122: /**
123: * Describe <code>description</code> method here.
124: *
125: * @return a <code>String</code> value
126: */
127: public String description() {
128: throw new UnsupportedOperationException();
129: }
130:
131: /**
132: * Describe <code>category</code> method here.
133: *
134: * @return a <code>String</code> value
135: */
136: public String category() {
137: throw new UnsupportedOperationException();
138: }
139:
140: /**
141: * Describe <code>contextSignature</code> method here.
142: *
143: * @return a <code>ProcessDataInfo</code> value
144: */
145: public ProcessDataInfo contextSignature() {
146: throw new UnsupportedOperationException();
147: }
148:
149: /**
150: * Describe <code>resultSignature</code> method here.
151: *
152: * @return a <code>ProcessDataInfo</code> value
153: */
154: public ProcessDataInfo resultSignature() {
155: throw new UnsupportedOperationException();
156: }
157:
158: /**
159: * Describe <code>createProcess</code> method here.
160: *
161: * @param wfRequester a <code>WfRequester</code> value
162: * @return a <code>WfProcess</code> value
163: * @exception NotEnabledException if an error occurs
164: * @exception InvalidRequesterException if an error occurs
165: * @exception RequesterRequiredException if an error occurs
166: */
167: public WfProcess createProcess(WfRequester wfRequester)
168: throws NotEnabledException, InvalidRequesterException,
169: RequesterRequiredException {
170: throw new UnsupportedOperationException();
171: }
172:
173: }
|