public class FileAction extends AbstractModuleAction
Constructor and Description |
---|
FileAction() |
haveRight, haveRight, isLightInterface, performChangeRenderer, performSearch, performWizard
public String getActionGroupName()
IAction
public AbstractModuleContext getModuleContext(javax.servlet.http.HttpSession session, Module module) throws Exception
getModuleContext
in class AbstractModuleAction
Exception
public static File getFolder(ContentContext ctx) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
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 performBrowse(javax.servlet.http.HttpServletRequest request, Module currentModule)
public String performUpdateBreadCrumb(RequestService rs, ContentContext ctx, EditContext editContext, ModulesContext moduleContext, Module currentModule, FileModuleContext fileModuleContext) throws Exception
Exception
public String performUpdateFocus(RequestService rs, ContentContext ctx, GlobalContext globalContext, FileModuleContext fileModuleContext, I18nAccess i18nAccess, MessageRepository messageRepository) throws Exception
Exception
public String performUpdateMeta(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, EditContext editContext, GlobalContext globalContext, FileModuleContext fileModuleContext, I18nAccess i18nAccess, MessageRepository messageRepository) throws Exception
Exception
public static String getROOTPath(ContentContext ctx)
public static String performClose(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
public static String getURLPathPrefix(ContentContext ctx)
ctx
- public static String getPathPrefix(ContentContext ctx)
ctx
- public static String getContextROOTFolder(ContentContext ctx)
public static String performUpload(ContentContext ctx, RequestService rs) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
public static String performDelete(GlobalContext globalContext, RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performJpeg(GlobalContext globalContext, RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performOrder(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performSynchro(ContentContext ctx) throws Exception
Exception
public static final String performChangeLanguage(RequestService requestService, ContentContext ctx, GlobalContext globalContext, I18nAccess i18nAccess, MessageRepository messageRepository) throws IOException
IOException
public static final String performPreviewedit(javax.servlet.http.HttpServletRequest request, ContentContext ctx, RequestService rs, EditContext editCtx) throws Exception
Exception
public static String performCreatefilestructure(RequestService rs, ContentContext ctx, GlobalContext globalContext, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
IOException
public static String performModify(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
public static String performEditimage(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
Copyright © 2012-2018. All Rights Reserved.