org.infoglue.cms.webservices
Class RemoteWorkflowServiceImpl

java.lang.Object
  extended by org.infoglue.cms.webservices.RemoteWorkflowServiceImpl

public class RemoteWorkflowServiceImpl
extends java.lang.Object

This service is used for creating workflows from an external application.


Constructor Summary
RemoteWorkflowServiceImpl()
          Default constructor.
 
Method Summary
 java.lang.Boolean start(java.lang.String principalName, java.lang.Integer languageId, java.lang.String workflowName, java.lang.Object[] inputsArray, java.lang.Object[] ppp)
          Creates the specified workflow running as the specified principal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteWorkflowServiceImpl

public RemoteWorkflowServiceImpl()
Default constructor.

Method Detail

start

public java.lang.Boolean start(java.lang.String principalName,
                               java.lang.Integer languageId,
                               java.lang.String workflowName,
                               java.lang.Object[] inputsArray,
                               java.lang.Object[] ppp)
Creates the specified workflow running as the specified principal. To determine if the workflow executed successfully, the state of the workflow is checked. A terminated workflow is interpreted as a failure, meaning that all workflows that could be started from an external application, should terminate directly if an error occurs.

Parameters:
principalName - the name of the principal that should execute the workflow. Must have permission to create the workflow.
languageId - the language to use when executing the workflow.
workflowName - the name of the workflow.
inputsArray - the inputs to the workflow.
Returns:
true if the workflow executed sucessfully; false otherwise.


Copyright © 2005 InfoGlue.org All Rights Reserved.