public class FileAction extends AbstractModuleAction
| Constructor and Description |
|---|
FileAction() |
haveRight, haveRight, isLightInterface, performChangeRenderer, performSearch, performWizardpublic String getActionGroupName()
IActionpublic AbstractModuleContext getModuleContext(javax.servlet.http.HttpSession session, Module module) throws Exception
getModuleContext in class AbstractModuleActionExceptionpublic static File getFolder(ContentContext ctx) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
public String prepare(ContentContext ctx, ModulesContext modulesContext) throws Exception
IModuleActionprepare in interface IModuleActionprepare in class AbstractModuleActionctx - the current context.modulesContext - the context of the module. You can call getCurrentModule for recover the module.Exceptionpublic 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
Exceptionpublic String performUpdateFocus(RequestService rs, ContentContext ctx, GlobalContext globalContext, FileModuleContext fileModuleContext, I18nAccess i18nAccess, MessageRepository messageRepository) throws Exception
Exceptionpublic String performUpdateMeta(RequestService rs, javax.servlet.ServletContext application, ContentContext ctx, EditContext editContext, GlobalContext globalContext, FileModuleContext fileModuleContext, I18nAccess i18nAccess, MessageRepository messageRepository) throws Exception
Exceptionpublic 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
Exceptionpublic static String performJpeg(GlobalContext globalContext, RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exceptionpublic static String performOrder(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exceptionpublic static String performSynchro(ContentContext ctx) throws Exception
Exceptionpublic static final String performChangeLanguage(RequestService requestService, ContentContext ctx, GlobalContext globalContext, I18nAccess i18nAccess, MessageRepository messageRepository) throws IOException
IOExceptionpublic static final String performPreviewedit(javax.servlet.http.HttpServletRequest request, ContentContext ctx, RequestService rs, EditContext editCtx) throws Exception
Exceptionpublic static String performCreatefilestructure(RequestService rs, ContentContext ctx, GlobalContext globalContext, MessageRepository messageRepository, I18nAccess i18nAccess) throws IOException
IOExceptionpublic 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
ExceptionCopyright © 2012-2018. All Rights Reserved.