/*
* This file is part of the WfMOpen project.
* Copyright (C) 2001-2006 Danet GmbH (www.danet.de), BU BTS.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: ExtProcessDirectory.java,v 1.3 2007/05/03 21:58:23 mlipp Exp $
*
* $Log: ExtProcessDirectory.java,v $
* Revision 1.3 2007/05/03 21:58:23 mlipp
* Internal refactoring for making better use of local EJBs.
*
*/
package de.danet.an.workflow.apix;
import java.rmi.RemoteException;
import java.util.Collection;
import de.danet.an.workflow.api.ProcessDirectory;
import de.danet.an.workflow.omgcore.WfRequester;
/**
* This interface defines some additional methods of
* <code>ProcessDirectory</code>s that are only available within the
* implementation (not part of the API).
*/
public interface ExtProcessDirectory extends ProcessDirectory {
/**
* Return the processes requested by the given requester. This is
* a helper method intended to be used when implementing a
* <code>WfRequester</code>. Applications should use {@link
* de.danet.an.workflow.omgcore.WfRequester#performers
* <code>WfRequester.performers</code>} instead.
* @param req the requester.
* @return the processes created with the given requester.
* @throws RemoteException if a system-level error occurs.
* @ejb.interface-method view-type="remote"
*/
Collection requestedBy (WfRequester req) throws RemoteException;
}
|