Package org.javlo.module.ecom
Class EcomAction
- java.lang.Object
-
- org.javlo.actions.AbstractModuleAction
-
- org.javlo.module.ecom.EcomAction
-
- All Implemented Interfaces:
IAction
,IModuleAction
public class EcomAction extends AbstractModuleAction
-
-
Constructor Summary
Constructors Constructor Description EcomAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionGroupName()
the group name of the actionstatic String
performCreate(RequestService rs, ContentContext ctx, GlobalContext globalContext, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performDelete(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performDeletebasket(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static String
performImportPayement(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performInitbasket(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static String
performManualPay(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performSended(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performStoreBasket(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
performUpdate(RequestService rs, 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.
-
performCreate
public static String performCreate(RequestService rs, ContentContext ctx, GlobalContext globalContext, MessageRepository messageRepository, I18nAccess i18nAccess)
-
performInitbasket
public static String performInitbasket(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
- Throws:
Exception
-
performDeletebasket
public static String performDeletebasket(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
- Throws:
Exception
-
performStoreBasket
public static String performStoreBasket(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, IOException
-
performManualPay
public static String performManualPay(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
- Throws:
IOException
-
performSended
public static String performSended(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
- Throws:
IOException
-
performDelete
public static String performDelete(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
- Throws:
IOException
-
performImportPayement
public static String performImportPayement(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
-
performUpdate
public static String performUpdate(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
-
-