| java.lang.Object de.danet.an.workflow.ejbs.admin.ProcessMgrStub
ProcessMgrStub | public class ProcessMgrStub implements ProcessMgr,Serializable(Code) | | This class provides a client side representation of a
WfProcessMgr . It acts as a mixture of intelligent proxy
and stub. As stub, however, it has no directly corresponding server.
It uses methods provided by other remote objects (notably
ProcessDirectory and ProcessDefinitionDirectory
to fulfill its tasks.
author: version: $Revision: 1.3 $ |
Constructor Summary | |
public | ProcessMgrStub(String pkgId, String prcId, String mgr, String prcKey, ProcessDefinitionDirectoryHome pdh, WfProcessHome ph) Creates an instance of ProcessMgrStub
for the given process type.
Parameters: pkgId - Id attribute of the process package. Parameters: prcId - Id attribute of the process. Parameters: mgr - the name of the process manager. Parameters: prcKey - the key of the given process. |
ProcessMgrStub | public ProcessMgrStub(String pkgId, String prcId, String mgr, String prcKey, ProcessDefinitionDirectoryHome pdh, WfProcessHome ph)(Code) | | Creates an instance of ProcessMgrStub
for the given process type.
Parameters: pkgId - Id attribute of the process package. Parameters: prcId - Id attribute of the process. Parameters: mgr - the name of the process manager. Parameters: prcKey - the key of the given process. It can be null. Parameters: pdh - the process definition directory home interface. Parameters: ph - the process home interface. |
category | public String category() throws RemoteException(Code) | | Returns a category. The category is the package name from the
XPDL description.
the category throws: RemoteException - if a system-level error occurs. |
contextSignature | public ProcessDataInfo contextSignature() throws RemoteException(Code) | | Return the context signature of the process. If this process key is
given, then find out its process definition through process; otherwise,
through process definition directory.
a ProcessDataInfo object throws: RemoteException - if a system-level error occurs. |
findByDataItem | public Collection findByDataItem(String itemName, String itemValue) throws RemoteException(Code) | | Returns all
Process Process es that have a
given value in a particular process data item. Note that this
method may only be used for data items of type string.
Parameters: itemName - the name of the process data item Parameters: itemValue - the value of the process data item the collection of processes throws: RemoteException - if a system-level error occurs |
processMgrState | public int processMgrState() throws RemoteException(Code) | | Returns the state of the WfProcessMgr .
ENABLED if creation of workflow processes is enabled,otherwise DISABLED. throws: RemoteException - if a system-level error occurs. |
processes | public Collection processes() throws RemoteException(Code) | | Returns a collection with WfProcess objects from this process manager.
a Collection object with remote interface of WfProcess. throws: RemoteException - if a system-level error occurs. |
|
|