01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2006 Danet GmbH (www.danet.de), BU BTS.
04: * All rights reserved.
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (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: ExtProcessDirectory.java,v 1.3 2007/05/03 21:58:23 mlipp Exp $
21: *
22: * $Log: ExtProcessDirectory.java,v $
23: * Revision 1.3 2007/05/03 21:58:23 mlipp
24: * Internal refactoring for making better use of local EJBs.
25: *
26: */
27: package de.danet.an.workflow.apix;
28:
29: import java.rmi.RemoteException;
30: import java.util.Collection;
31:
32: import de.danet.an.workflow.api.ProcessDirectory;
33: import de.danet.an.workflow.omgcore.WfRequester;
34:
35: /**
36: * This interface defines some additional methods of
37: * <code>ProcessDirectory</code>s that are only available within the
38: * implementation (not part of the API).
39: */
40: public interface ExtProcessDirectory extends ProcessDirectory {
41:
42: /**
43: * Return the processes requested by the given requester. This is
44: * a helper method intended to be used when implementing a
45: * <code>WfRequester</code>. Applications should use {@link
46: * de.danet.an.workflow.omgcore.WfRequester#performers
47: * <code>WfRequester.performers</code>} instead.
48: * @param req the requester.
49: * @return the processes created with the given requester.
50: * @throws RemoteException if a system-level error occurs.
51: * @ejb.interface-method view-type="remote"
52: */
53: Collection requestedBy(WfRequester req) throws RemoteException;
54:
55: }
|