org.infoglue.cms.util.workflow
Class InfoGlueBasicWorkflow

java.lang.Object
  extended by com.opensymphony.workflow.AbstractWorkflow
      extended by com.opensymphony.workflow.basic.BasicWorkflow
          extended by org.infoglue.cms.util.workflow.InfoGlueBasicWorkflow
All Implemented Interfaces:
com.opensymphony.workflow.Workflow

public class InfoGlueBasicWorkflow
extends com.opensymphony.workflow.basic.BasicWorkflow

A basic workflow implementation which does not read in the current user from any context, but allows one to be specified via the constructor. Also does not support rollbacks.


Field Summary
 
Fields inherited from class com.opensymphony.workflow.AbstractWorkflow
context
 
Fields inherited from interface com.opensymphony.workflow.Workflow
BSF_COL, BSF_LANGUAGE, BSF_ROW, BSF_SCRIPT, BSF_SOURCE, BSH_SCRIPT, CLASS_NAME, EJB_LOCATION, JNDI_LOCATION
 
Constructor Summary
InfoGlueBasicWorkflow(java.lang.String caller)
           
 
Method Summary
 void changeEntryState(long id, int newState)
           
 void doAction(long id, int actionId, java.util.Map inputs)
           
 long initialize(java.lang.String workflowName, int initialState, java.util.Map inputs)
           
 
Methods inherited from class com.opensymphony.workflow.AbstractWorkflow
canInitialize, canInitialize, canModifyEntryState, checkImplicitFinish, completeEntry, executeFunction, executeTriggerFunction, getAvailableActions, getAvailableActions, getAvailableActionsForStep, getAvailableAutoActions, getAvailableAutoActionsForStep, getConfiguration, getCurrentSteps, getEntryState, getHistorySteps, getPersistence, getPersistenceProperties, getPropertySet, getResolver, getSecurityPermissions, getSecurityPermissions, getWorkflowDescriptor, getWorkflowName, getWorkflowNames, passesCondition, passesConditions, passesConditions, populateTransientMap, query, query, removeWorkflowDescriptor, saveWorkflowDescriptor, setConfiguration, setResolver, transitionWorkflow, verifyInputs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoGlueBasicWorkflow

public InfoGlueBasicWorkflow(java.lang.String caller)
Method Detail

changeEntryState

public void changeEntryState(long id,
                             int newState)
                      throws com.opensymphony.workflow.WorkflowException
Specified by:
changeEntryState in interface com.opensymphony.workflow.Workflow
Overrides:
changeEntryState in class com.opensymphony.workflow.AbstractWorkflow
Throws:
com.opensymphony.workflow.WorkflowException

doAction

public void doAction(long id,
                     int actionId,
                     java.util.Map inputs)
              throws com.opensymphony.workflow.WorkflowException
Specified by:
doAction in interface com.opensymphony.workflow.Workflow
Overrides:
doAction in class com.opensymphony.workflow.AbstractWorkflow
Throws:
com.opensymphony.workflow.WorkflowException

initialize

public long initialize(java.lang.String workflowName,
                       int initialState,
                       java.util.Map inputs)
                throws com.opensymphony.workflow.WorkflowException
Specified by:
initialize in interface com.opensymphony.workflow.Workflow
Overrides:
initialize in class com.opensymphony.workflow.AbstractWorkflow
Throws:
com.opensymphony.workflow.WorkflowException


Copyright © 2005 InfoGlue.org All Rights Reserved.