org.opencrx.kernel.backend
Class Workflows

java.lang.Object
  extended by org.opencrx.kernel.backend.Workflows

public class Workflows
extends Object


Field Summary
static short STATUS_FAILED
           
static short STATUS_OK
           
 
Constructor Summary
Workflows(Backend backend)
           
 
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
 

Field Detail

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
Constructor Detail

Workflows

public Workflows(Backend backend)
          throws ServiceException
Throws:
ServiceException
Method Detail

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.