Package org.javlo.module.taxonomy
Class TaxonomyAction
- java.lang.Object
-
- org.javlo.actions.AbstractModuleAction
-
- org.javlo.module.taxonomy.TaxonomyAction
-
- All Implemented Interfaces:
IAction
,IModuleAction
public class TaxonomyAction extends AbstractModuleAction
-
-
Constructor Summary
Constructors Constructor Description TaxonomyAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionGroupName()
the group name of the actionstatic void
main(String[] args)
static String
performMainPage(RequestService rs, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performText(RequestService rs, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performUpdate(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess, Module module)
static String
performUpdateText(ContentContext ctx, RequestService rs)
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
-
-
-
-
Field Detail
-
logger
public static Logger logger
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getActionGroupName
public String getActionGroupName()
Description copied from interface:IAction
the group name of the action- Returns:
- a group name.
-
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
-
performUpdate
public static String performUpdate(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess, Module module) throws javax.servlet.ServletException, IOException, ServiceException
- Throws:
javax.servlet.ServletException
IOException
ServiceException
-
main
public static void main(String[] args)
-
performMainPage
public static String performMainPage(RequestService rs, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
- Throws:
Exception
-
performText
public static String performText(RequestService rs, ContentContext ctx, javax.servlet.http.HttpSession session, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
- Throws:
Exception
-
performUpdateText
public static String performUpdateText(ContentContext ctx, RequestService rs) throws Exception
- Throws:
Exception
-
-