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, performWizard
public 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()
IAction
public AbstractModuleContext getModuleContext(javax.servlet.http.HttpSession session, Module module) throws Exception
getModuleContext
in class AbstractModuleAction
Exception
public String prepare(ContentContext ctx, ModulesContext modulesContext) throws Exception
IModuleAction
prepare
in interface IModuleAction
prepare
in class AbstractModuleAction
ctx
- the current context.modulesContext
- the context of the module. You can call getCurrentModule for recover the module.Exception
public 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
Exception
public String performSelectMailingTemplate(ContentContext ctx, RequestService rs, Module currentModule, MailingModuleContext mailingContext) throws Exception
Exception
public static String performUnsubscribe(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public Boolean haveRight(javax.servlet.http.HttpSession session, User user) throws ModuleException
IModuleAction
haveRight
in interface IModuleAction
haveRight
in class AbstractModuleAction
ModuleException
public static String performDeletemailing(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
IOException
Copyright © 2012-2018. All Rights Reserved.