org.infoglue.cms.applications.workflowtool.function.email
Class EmailFunction

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.email.EmailFunction
All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider

public class EmailFunction
extends InfoglueFunction


Field Summary
static java.lang.String ATTACHMENTS_PARAMETER
           
static java.lang.String FROM_PARAMETER
           
static java.lang.String ILLEGAL_ADDRESSES_PARAMETER
           
static java.lang.String ILLEGAL_ADDRESSES_PROPERTYSET_KEY
           
static java.lang.String TO_PARAMETER
           
 
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
EmailFunction()
           
 
Method Summary
protected  void execute()
          Executes this function.
protected  void initialize()
          Method used for initializing the function; will be called before execute is called.
 
Methods inherited from class org.infoglue.cms.applications.workflowtool.function.InfoglueFunction
execute, getLocale, getPrincipal, getRequestParameter, 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
 

Field Detail

ILLEGAL_ADDRESSES_PARAMETER

public static final java.lang.String ILLEGAL_ADDRESSES_PARAMETER
See Also:
Constant Field Values

ILLEGAL_ADDRESSES_PROPERTYSET_KEY

public static final java.lang.String ILLEGAL_ADDRESSES_PROPERTYSET_KEY
See Also:
Constant Field Values

TO_PARAMETER

public static final java.lang.String TO_PARAMETER
See Also:
Constant Field Values

FROM_PARAMETER

public static final java.lang.String FROM_PARAMETER
See Also:
Constant Field Values

ATTACHMENTS_PARAMETER

public static final java.lang.String ATTACHMENTS_PARAMETER
See Also:
Constant Field Values
Constructor Detail

EmailFunction

public EmailFunction()
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.

initialize

protected void initialize()
                   throws com.opensymphony.workflow.WorkflowException
Method used for initializing the function; will be called before execute is called.

Note! You must call super.initialize() first.

Overrides:
initialize in class InfoglueFunction
Throws:
com.opensymphony.workflow.WorkflowException - if an error occurs during the initialization.


Copyright © 2005 InfoGlue.org All Rights Reserved.