org.opencrx.kernel.backend
Class Workflows
java.lang.Object
org.opencrx.kernel.backend.Workflows
public class Workflows
- extends Object
|
Method Summary |
DataproviderObject_1_0 |
executeWorkflow(DataproviderObject_1_0 userHome,
Path wfProcessIdentity,
Path targetObjectPath,
String targetObjectXri,
String triggeredByEventId,
Path triggeredBySubscription,
Number triggeredByEventType)
Execute workflow and execute workflow instance identity. |
WfProcessInstance |
executeWorkflow(Path workflowTargetIdentity,
Path wfProcessIdentity,
Path targetObjectIdentity,
String targetObjectXri,
String triggeredByEventId,
Subscription triggeredBySubscription,
Number triggeredByEventType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATUS_OK
public static final short STATUS_OK
- See Also:
- Constant Field Values
STATUS_FAILED
public static final short STATUS_FAILED
- See Also:
- Constant Field Values
Workflows
public Workflows(Backend backend)
throws ServiceException
- Throws:
ServiceException
executeWorkflow
public WfProcessInstance executeWorkflow(Path workflowTargetIdentity,
Path wfProcessIdentity,
Path targetObjectIdentity,
String targetObjectXri,
String triggeredByEventId,
Subscription triggeredBySubscription,
Number triggeredByEventType)
throws ServiceException
- Throws:
ServiceException
executeWorkflow
public DataproviderObject_1_0 executeWorkflow(DataproviderObject_1_0 userHome,
Path wfProcessIdentity,
Path targetObjectPath,
String targetObjectXri,
String triggeredByEventId,
Path triggeredBySubscription,
Number triggeredByEventType)
throws ServiceException
- Execute workflow and execute workflow instance identity.
- Returns:
- the updated / created process instance.
- Throws:
ServiceException
This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.