| java.lang.Object common.WrappedProcessDefinitionDirectory
WrappedProcessDefinitionDirectory | public class WrappedProcessDefinitionDirectory (Code) | | Describe class WrappedProcessDefinitionDirectory here.
author: Christian Weidauer version: 1.0 |
Method Summary | |
public List | importProcessDefinitions(String processDefinitions) This operation method import new process definitions from an
XPDL description. | public boolean | isEnabled(String packageId, String processId) This operation method returns true if the process definition
with the given ids is enabled.
Parameters: packageId - Id attribute of the process package. Parameters: processId - Id attribute of the process. | public ProcessMgr | processMgr(String packageId, String processId) This method delivers the process manager for the process
definition with the given ids.
Parameters: packageId - Id attribute of the process package. Parameters: processId - Id attribute of the process. | public void | removeProcessDefinition(String packageId, String processId) This operation method removes a process definition with the
given ids from the database. | public void | setEnabled(String packageId, String processId, boolean enabled) This operation method set the process definition with the given
ids as enabled or disabled. |
WrappedProcessDefinitionDirectory | public WrappedProcessDefinitionDirectory(ProcessDefinitionDirectory defDir)(Code) | | Creates a new WrappedProcessDefinitionDirectory instance.
Parameters: a - ProcessDefinitionDirectory value |
importProcessDefinitions | public List importProcessDefinitions(String processDefinitions) throws ImportException(Code) | | This operation method import new process definitions from an
XPDL description.
Note that importing an XPDL description automatically removes
any existing process definitions that have the same package id
as the imported package.
Parameters: processDefinitions - document describing the process definitions. list of prioritized message de.danet.an.workflow.api.PrioritizedMessage PrioritizedMessage . This list only includesmessages of priority INFO or WARN. If any (fatal) error has occured, ande.danet.an.workflow.api.ImportExceptionImportException will be thrown and the errormessage can be taken from there. throws: RemoteException - if a system-level error occurs. Theimport has been aborted. throws: ImportException - if the input is not a correct. |
isEnabled | public boolean isEnabled(String packageId, String processId) throws RemoteException, InvalidKeyException(Code) | | This operation method returns true if the process definition
with the given ids is enabled.
Parameters: packageId - Id attribute of the process package. Parameters: processId - Id attribute of the process. if the process definition is enabled. throws: InvalidKeyException - if no process definition withthe given ids exists. throws: RemoteException - if a system-level error occurs. |
processMgr | public ProcessMgr processMgr(String packageId, String processId) throws InvalidKeyException, RemoteException(Code) | | This method delivers the process manager for the process
definition with the given ids.
Parameters: packageId - Id attribute of the process package. Parameters: processId - Id attribute of the process. the process manager for the process type. throws: InvalidKeyException - if not process definition withthe given ids exists. throws: RemoteException - if a system-level error occurs. |
removeProcessDefinition | public void removeProcessDefinition(String packageId, String processId) throws InvalidKeyException(Code) | | This operation method removes a process definition with the
given ids from the database. If called for a definition that
does not exist, it does nothing.
Parameters: packageId - Id attribute of the process package. Parameters: processId - Id attribute of the process. throws: RemoteException - if a system-level error occurs. throws: InvalidKeyException - if packageId or processId are(formally) invalid ids. |
setEnabled | public void setEnabled(String packageId, String processId, boolean enabled) throws RemoteException, InvalidKeyException(Code) | | This operation method set the process definition with the given
ids as enabled or disabled.
Parameters: packageId - Id attribute of the process package. Parameters: processId - Id attribute of the process. Parameters: enabled - enable the process definition or not. throws: InvalidKeyException - if no process definition withthe given ids exists. throws: RemoteException - if a system-level error occurs. |
|
|