Package org.javlo.module.template
Class TemplateEditorAction
- java.lang.Object
-
- org.javlo.actions.AbstractModuleAction
-
- org.javlo.module.template.TemplateEditorAction
-
- All Implemented Interfaces:
IAction
,IModuleAction
public class TemplateEditorAction extends AbstractModuleAction
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
RESERVED_AREA_NAME
-
Constructor Summary
Constructors Constructor Description TemplateEditorAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionGroupName()
the group name of the actionstatic String
performChangeTemplate(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performCreateArea(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performCreateRow(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performCreateTemplate(RequestService rs, ContentContext ctx, StaticConfig staticConfig, javax.servlet.ServletContext application, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performSelectArea(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performShowContent(RequestService rs, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performSnapshot(RequestService rs, StaticConfig staticConfig, ContentContext ctx, javax.servlet.ServletContext application, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performUpdateArea(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performUpdateRow(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performUpdateStyle(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
String
prepare(ContentContext ctx, ModulesContext modulesContext)
method called before module rendering-
Methods inherited from class org.javlo.actions.AbstractModuleAction
getModuleContext, haveRight, haveRight, isLightInterface, performChangeRenderer, performSearch, performWizard
-
-
-
-
Method Detail
-
prepare
public String prepare(ContentContext ctx, ModulesContext modulesContext) throws Exception
Description copied from interface:IModuleAction
method called before module rendering- Specified by:
prepare
in interfaceIModuleAction
- Overrides:
prepare
in classAbstractModuleAction
- Parameters:
ctx
- the current context.modulesContext
- the context of the module. You can call getCurrentModule for recover the module.- Returns:
- eventually the error message
- Throws:
Exception
-
getActionGroupName
public String getActionGroupName()
Description copied from interface:IAction
the group name of the action- Returns:
- a group name.
-
performSelectArea
public static String performSelectArea(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
- Throws:
Exception
-
performUpdateArea
public static String performUpdateArea(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
- Throws:
IOException
-
performUpdateRow
public static String performUpdateRow(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
- Throws:
IOException
-
performUpdateStyle
public static String performUpdateStyle(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
- Throws:
Exception
-
performCreateArea
public static String performCreateArea(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
- Throws:
IOException
-
performCreateRow
public static String performCreateRow(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
- Throws:
IOException
-
performChangeTemplate
public static String performChangeTemplate(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
- Throws:
Exception
-
performSnapshot
public static String performSnapshot(RequestService rs, StaticConfig staticConfig, ContentContext ctx, javax.servlet.ServletContext application, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
- Throws:
IOException
-
performCreateTemplate
public static String performCreateTemplate(RequestService rs, ContentContext ctx, StaticConfig staticConfig, javax.servlet.ServletContext application, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
- Throws:
Exception
-
performShowContent
public static String performShowContent(RequestService rs, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess)
-
-