org.infoglue.deliver.applications.actions
Class InvokeWorkflowAction

java.lang.Object
  |
  +--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
        |
        +--org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
              |
              +--org.infoglue.deliver.applications.actions.InvokeWorkflowAction
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class InvokeWorkflowAction
extends InfoGlueAbstractAction

This is the action that takes care of all invokations of workflow actions.

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
InvokeWorkflowAction()
          The constructor for this action - contains nothing right now.
 
Method Summary
 java.lang.String doExecute()
          This method is the application entry-point.
 java.lang.Integer getActionId()
           
 java.lang.String getWorkflowId()
           
 void setActionId(java.lang.Integer actionId)
           
 void setWorkflowId(java.lang.String workflowId)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, encode, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getThis, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme
 
Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getInfoGluePrincipal, getLocalizedString, getRoot, getSession, setCommand, setServletRequest, setServletResponse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokeWorkflowAction

public InvokeWorkflowAction()
The constructor for this action - contains nothing right now.

Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
This method is the application entry-point. The parameters has been set through the setters and now we just have to render the appropriate output.

Overrides:
doExecute in class WebworkAbstractAction
java.lang.Exception

getActionId

public java.lang.Integer getActionId()

setActionId

public void setActionId(java.lang.Integer actionId)

getWorkflowId

public java.lang.String getWorkflowId()

setWorkflowId

public void setWorkflowId(java.lang.String workflowId)