org.infoglue.cms.applications.workflowtool.function.defaultvalue
Class Populator

java.lang.Object
  extended by org.infoglue.cms.applications.workflowtool.util.InfoglueWorkflowBase
      extended by org.infoglue.cms.applications.workflowtool.function.InfoglueFunction
          extended by org.infoglue.cms.applications.workflowtool.function.defaultvalue.Populator
All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider
Direct Known Subclasses:
DatePopulator, StringPopulator

public abstract class Populator
extends InfoglueFunction


Field Summary
 
Fields inherited from class org.infoglue.cms.applications.workflowtool.function.InfoglueFunction
LOCALE_PARAMETER, PRINCIPAL_PARAMETER
 
Fields inherited from class org.infoglue.cms.applications.workflowtool.util.InfoglueWorkflowBase
ERROR_PROPERTYSET_PREFIX, FUNCTION_STATUS_PROPERTYSET_KEY, UTF8_ENCODING, WORKFLOW_PROPERTYSET_PREFIX
 
Constructor Summary
Populator()
           
 
Method Summary
protected  void doPopulate(java.lang.String name, java.lang.String value)
           
protected  void execute()
          Executes this function.
protected abstract  void populate()
           
protected abstract  void populate(java.lang.String name)
           
protected abstract  void populate(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class org.infoglue.cms.applications.workflowtool.function.InfoglueFunction
execute, getLocale, getPrincipal, getRequestParameter, initialize, setFunctionStatus
 
Methods inherited from class org.infoglue.cms.applications.workflowtool.util.InfoglueWorkflowBase
argumentExists, getArgument, getArgument, getDatabase, getLogger, getParameter, getParameter, getParameter, getParameters, getPropertySet, getPropertySetDataString, getPropertySetString, getVariableFromMaps, parameterExists, propertySetContains, removeFromPropertySet, removeFromPropertySet, setParameter, setPropertySetDataString, setPropertySetString, storeContext, throwException, throwException, translate, translateVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Populator

public Populator()
Method Detail

execute

protected void execute()
                throws com.opensymphony.workflow.WorkflowException
Description copied from class: InfoglueFunction
Executes this function.

Specified by:
execute in class InfoglueFunction
Throws:
com.opensymphony.workflow.WorkflowException - if an error occurs during the execution.

doPopulate

protected void doPopulate(java.lang.String name,
                          java.lang.String value)
                   throws com.opensymphony.workflow.WorkflowException
Throws:
com.opensymphony.workflow.WorkflowException

populate

protected abstract void populate()
                          throws com.opensymphony.workflow.WorkflowException
Throws:
com.opensymphony.workflow.WorkflowException

populate

protected abstract void populate(java.lang.String name)
                          throws com.opensymphony.workflow.WorkflowException
Throws:
com.opensymphony.workflow.WorkflowException

populate

protected abstract void populate(java.lang.String name,
                                 java.lang.String value)
                          throws com.opensymphony.workflow.WorkflowException
Throws:
com.opensymphony.workflow.WorkflowException


Copyright © 2005 InfoGlue.org All Rights Reserved.