|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.process.action.ActionImpl
atg.projects.store.scenario.action.GenerateEmailList
public class GenerateEmailList
Custom action to generate a list of emails for targeted email campaigns.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
| Constructor Summary | |
|---|---|
GenerateEmailList()
|
|
| Method Summary | |
|---|---|
void |
configure(java.lang.Object pConfiguration)
Configures the action using the given configuration object. |
void |
execute(atg.process.ProcessExecutionContext pContext)
Executes the action in the given process execution context. |
void |
execute(atg.process.ProcessExecutionContext[] pContexts)
Executes the action in each of the given process execution contexts. |
protected void |
executeAction(atg.process.ProcessExecutionContext pContext)
Override OOTB method so we can set the file name. |
java.lang.String |
getActionName()
Returns the name of the action. |
java.lang.String |
getFileName()
Retrieves the name of the output file. |
EmailListWriter |
getWriter()
Retrieves the e-mail list writer component. |
void |
initialize(java.util.Map pParameters)
Override OOTB method so we can store our required parameters. |
void |
setFileName(java.lang.String pFileName)
Sets the name of the output file.. |
void |
setWriter(EmailListWriter pWriter)
Sets the e-mail list writer component. |
| Methods inherited from class atg.process.action.ActionImpl |
|---|
getParameterExpression, getParameterValue, storeOptionalParameter, storeRequiredMutableParameter, storeRequiredParameter, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public GenerateEmailList()
| Method Detail |
|---|
public void setFileName(java.lang.String pFileName)
pFileName - - file name of output file.public java.lang.String getFileName()
public java.lang.String getActionName()
getActionName in class atg.process.action.ActionImplpublic EmailListWriter getWriter()
public void setWriter(EmailListWriter pWriter)
pWriter - - the writer to set.
public void configure(java.lang.Object pConfiguration)
throws atg.process.ProcessException
configure in interface atg.process.action.Actionconfigure in class atg.process.action.ActionImplpConfiguration - - configuration
atg.process.ProcessException - if the action could not be configured - for
example, because some of the required properties are missing
from the configuration
public void initialize(java.util.Map pParameters)
throws atg.process.ProcessException
initialize in interface atg.process.action.Actioninitialize in class atg.process.action.ActionImplpParameters - - parameters
atg.process.ProcessException - If the initialization could not be performed - for
example, because some of the required parameters are missingAction.initialize(java.util.Map)
protected void executeAction(atg.process.ProcessExecutionContext pContext)
throws atg.process.ProcessException
executeAction in class atg.process.action.ActionImplpContext - - process execution context
atg.process.ProcessException - If the action could not be performed - for
example, because some of the required parameters are missingActionImpl.executeAction(atg.process.ProcessExecutionContext)
public void execute(atg.process.ProcessExecutionContext pContext)
throws atg.process.action.ActionException
execute in interface atg.process.action.Actionexecute in class atg.process.action.ActionImplpContext - - process execution context
atg.process.action.ActionException - if the action failed when executed in the given
context
public void execute(atg.process.ProcessExecutionContext[] pContexts)
throws atg.process.action.ActionException
execute in interface atg.process.action.Actionexecute in class atg.process.action.ActionImplpContexts - if the action
atg.process.action.ActionException - if the action failed when executed in any of
the given contexts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||