|
||||||||||
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.ActionImpl
public 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.Action
configure
in class atg.process.action.ActionImpl
pConfiguration
- - configuration
atg.process.ProcessException
- if the action could not be configured - for
example, because some of the required properties are missing
from the configurationpublic void initialize(java.util.Map pParameters) throws atg.process.ProcessException
initialize
in interface atg.process.action.Action
initialize
in class atg.process.action.ActionImpl
pParameters
- - 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.ActionImpl
pContext
- - 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.Action
execute
in class atg.process.action.ActionImpl
pContext
- - process execution context
atg.process.action.ActionException
- if the action failed when executed in the given
contextpublic void execute(atg.process.ProcessExecutionContext[] pContexts) throws atg.process.action.ActionException
execute
in interface atg.process.action.Action
execute
in class atg.process.action.ActionImpl
pContexts
- 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 |