public class MailingAction extends AbstractModuleAction
| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_MAIL_PREFIX |
static String |
DATA_MAIL_SUFFIX |
static String |
MAILING_FEEDBACK_PARAM_NAME |
static String |
MAILING_FEEDBACK_VALUE_NAME |
static String |
SEND_WIZARD_BOX |
static String |
SEND_WIZARD_BOX_PREVIEW |
| Constructor and Description |
|---|
MailingAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
getActionGroupName()
the group name of the action
|
AbstractModuleContext |
getModuleContext(javax.servlet.http.HttpSession session,
Module module) |
Boolean |
haveRight(javax.servlet.http.HttpSession session,
User user)
check if a specific user can use the module.
|
static String |
performDeletemailing(RequestService rs,
javax.servlet.ServletContext application,
ContentContext ctx,
javax.servlet.http.HttpSession session,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performSelectMailingTemplate(ContentContext ctx,
RequestService rs,
Module currentModule,
MailingModuleContext mailingContext) |
static String |
performUnsubscribe(javax.servlet.ServletContext application,
javax.servlet.http.HttpServletRequest request,
RequestService rs,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performWizard(ContentContext ctx,
GlobalContext globalContext,
javax.servlet.ServletContext application,
StaticConfig staticConfig,
javax.servlet.http.HttpServletRequest request,
RequestService rs,
Module currentModule,
MessageRepository messageRepository,
MailingModuleContext mailingContext,
I18nAccess i18nAccess) |
String |
prepare(ContentContext ctx,
ModulesContext modulesContext)
method called before module rendering
|
haveRight, isLightInterface, performChangeRenderer, performSearch, performWizardpublic static final String MAILING_FEEDBACK_PARAM_NAME
public static final String DATA_MAIL_PREFIX
public static final String DATA_MAIL_SUFFIX
public static final String MAILING_FEEDBACK_VALUE_NAME
public static final String SEND_WIZARD_BOX
public static final String SEND_WIZARD_BOX_PREVIEW
public String getActionGroupName()
IActionpublic AbstractModuleContext getModuleContext(javax.servlet.http.HttpSession session, Module module) throws Exception
getModuleContext in class AbstractModuleActionExceptionpublic String prepare(ContentContext ctx, ModulesContext modulesContext) throws Exception
IModuleActionprepare in interface IModuleActionprepare in class AbstractModuleActionctx - the current context.modulesContext - the context of the module. You can call getCurrentModule for recover the module.Exceptionpublic String performWizard(ContentContext ctx, GlobalContext globalContext, javax.servlet.ServletContext application, StaticConfig staticConfig, javax.servlet.http.HttpServletRequest request, RequestService rs, Module currentModule, MessageRepository messageRepository, MailingModuleContext mailingContext, I18nAccess i18nAccess) throws Exception
Exceptionpublic String performSelectMailingTemplate(ContentContext ctx, RequestService rs, Module currentModule, MailingModuleContext mailingContext) throws Exception
Exceptionpublic static String performUnsubscribe(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exceptionpublic Boolean haveRight(javax.servlet.http.HttpSession session, User user) throws ModuleException
IModuleActionhaveRight in interface IModuleActionhaveRight in class AbstractModuleActionModuleExceptionpublic static String performDeletemailing(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
IOExceptionCopyright © 2012-2018. All Rights Reserved.