| de.danet.an.workflow.api.ProcessDefinitionDirectory
ProcessDefinitionDirectory | public interface ProcessDefinitionDirectory extends WfObject(Code) | | This interface defines a process definiton directory.
|
Method Summary | |
List | importProcessDefinitions(String processDefinitions) This operation method import new process definitions from an
XPDL description. | List | importProcessDefinitions(byte[] processDefinitions) 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 - byte array resulting from anInputStream that describes the process definitions. | 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. | ProcessDefinition | lookupProcessDefinition(String packageId, String processId) This method delivers the process definition for the
given ids. | boolean | processDefinitionExists(String packageId, String processId) This method checks if a process definiton with the given ids
exists.
Parameters: packageId - Id attribute of the process package. Parameters: processId - Id attribute of the process. | Collection | processDefinitions() This operation method delivers a collection of all
defined process definitions. | 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. | void | removeProcessDefinition(String packageId, String processId) This operation method removes a process definition with the
given ids from the database. | void | setEnabled(String packageId, String processId, boolean enabled) This operation method set the process definition with the given
ids as enabled or disabled. |
importProcessDefinitions | List importProcessDefinitions(String processDefinitions) throws RemoteException, 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. |
importProcessDefinitions | List importProcessDefinitions(byte[] processDefinitions) throws RemoteException, 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 - byte array resulting from anInputStream that describes 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 | 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. |
lookupProcessDefinition | ProcessDefinition lookupProcessDefinition(String packageId, String processId) throws InvalidKeyException, RemoteException(Code) | | This method delivers the process definition for the
given ids. If no process definition with the ids exist, it
throws an IllegalArgumentException .
Parameters: packageId - Id attribute of the process package. Parameters: processId - Id attribute of the process. the found ProcessDefinition object. throws: InvalidKeyException - if no process definition withthe given ids exists. throws: RemoteException - if a system-level error occurs. |
processDefinitionExists | boolean processDefinitionExists(String packageId, String processId) throws RemoteException(Code) | | This method checks if a process definiton with the given ids
exists.
Parameters: packageId - Id attribute of the process package. Parameters: processId - Id attribute of the process. true if a process definition with the givenid exists. throws: RemoteException - if a system-level error occurs. |
processMgr | 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 | void removeProcessDefinition(String packageId, String processId) throws RemoteException, 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 | 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. |
|
|