public class TemplateAction extends AbstractModuleAction
Constructor and Description |
---|
TemplateAction() |
Modifier and Type | Method and Description |
---|---|
String |
getActionGroupName()
the group name of the action
|
static String |
getContextROOTFolder(ContentContext ctx) |
static String |
getPreviewImageURL(ContentContext ctx,
String filter,
String area) |
static String |
performChangeFromPreview(RequestService rs,
javax.servlet.http.HttpSession session,
ContentContext ctx,
Module currentModule,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performChangeRenderer(javax.servlet.http.HttpSession session,
RequestService requestService,
GlobalContext globalContext,
Module currentModule,
I18nAccess i18nAccess) |
String |
performCommit(RequestService requestService,
javax.servlet.ServletContext application,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performCommitChildren(RequestService requestService,
javax.servlet.ServletContext application,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performDelete(RequestService requestService,
javax.servlet.http.HttpSession session,
ContentContext ctx) |
String |
performDeleteArea(javax.servlet.ServletContext application,
RequestService requestService) |
static String |
performEditCSS(RequestService rs,
javax.servlet.ServletContext application,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performEditHTML(RequestService rs,
javax.servlet.ServletContext application,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performEditTemplate(javax.servlet.ServletContext application,
StaticConfig staticConfig,
ContentContext ctx,
RequestService requestService,
Module module,
I18nAccess i18nAccess,
MessageRepository messageRepository) |
String |
performGoEditTemplate(javax.servlet.ServletContext application,
javax.servlet.http.HttpServletRequest request,
ContentContext ctx,
RequestService requestService,
Module module,
I18nAccess i18nAccess) |
String |
performImport(RequestService requestService,
javax.servlet.http.HttpSession session,
ContentContext ctx,
GlobalContext globalContext,
Module currentModule,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performSelectTemplate(RequestService rs,
ContentContext ctx,
EditContext editContext,
MenuElement currentPage,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performUpdateFilter(RequestService rs,
javax.servlet.ServletContext application,
GlobalContext globalContext,
javax.servlet.http.HttpSession session,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performUpload(ContentContext ctx,
RequestService rs,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
performValidate(RequestService requestService,
javax.servlet.http.HttpSession session,
ContentContext ctx) |
String |
prepare(ContentContext ctx,
ModulesContext moduleContext)
method called before module rendering
|
static Collection<PageTemplateRef> |
searchPageTemplate(ContentContext ctx,
String templateName) |
getModuleContext, haveRight, haveRight, isLightInterface, performChangeRenderer, performSearch, performWizard
public String getActionGroupName()
IAction
public static String getPreviewImageURL(ContentContext ctx, String filter, String area)
public String prepare(ContentContext ctx, ModulesContext moduleContext) throws Exception
IModuleAction
prepare
in interface IModuleAction
prepare
in class AbstractModuleAction
ctx
- the current context.moduleContext
- the context of the module. You can call getCurrentModule for recover the module.Exception
public String performGoEditTemplate(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, ContentContext ctx, RequestService requestService, Module module, I18nAccess i18nAccess) throws Exception
Exception
public String performEditTemplate(javax.servlet.ServletContext application, StaticConfig staticConfig, ContentContext ctx, RequestService requestService, Module module, I18nAccess i18nAccess, MessageRepository messageRepository) throws Exception
Exception
public String performChangeRenderer(javax.servlet.http.HttpSession session, RequestService requestService, GlobalContext globalContext, Module currentModule, I18nAccess i18nAccess) throws Exception
Exception
public String performDeleteArea(javax.servlet.ServletContext application, RequestService requestService) throws Exception
Exception
public String performImport(RequestService requestService, javax.servlet.http.HttpSession session, ContentContext ctx, GlobalContext globalContext, Module currentModule, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public String performValidate(RequestService requestService, javax.servlet.http.HttpSession session, ContentContext ctx) throws Exception
Exception
public String performDelete(RequestService requestService, javax.servlet.http.HttpSession session, ContentContext ctx) throws Exception
Exception
public String performCommit(RequestService requestService, javax.servlet.ServletContext application, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public String performCommitChildren(RequestService requestService, javax.servlet.ServletContext application, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performChangeFromPreview(RequestService rs, javax.servlet.http.HttpSession session, ContentContext ctx, Module currentModule, MessageRepository messageRepository, I18nAccess i18nAccess) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public static String performSelectTemplate(RequestService rs, ContentContext ctx, EditContext editContext, MenuElement currentPage, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performUpdateFilter(RequestService rs, javax.servlet.ServletContext application, GlobalContext globalContext, javax.servlet.http.HttpSession session, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performEditHTML(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performEditCSS(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String getContextROOTFolder(ContentContext ctx)
public static String performUpload(ContentContext ctx, RequestService rs, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static Collection<PageTemplateRef> searchPageTemplate(ContentContext ctx, String templateName) throws Exception
Exception
Copyright © 2012-2018. All Rights Reserved.