Package org.bgerp.action
Class FileAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.bgerp.action.BaseAction
org.bgerp.action.FileAction
-
Field Summary
Fields inherited from class org.bgerp.action.BaseAction
l, log, MAPPER, PATH_JSP, PATH_JSP_ADMIN, PATH_JSP_OPEN, PATH_JSP_USER, PATH_JSP_USERMOB, setup
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, methods, types
Fields inherited from class org.apache.struts.actions.BaseAction
messages
Fields inherited from class org.apache.struts.action.Action
servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.action.ActionForward
temporaryDelete
(DynActionForm form, Connection con) org.apache.struts.action.ActionForward
temporaryUpload
(DynActionForm form, Connection con) org.apache.struts.action.ActionForward
unspecified
(DynActionForm form, Connection con) Default action method if no parameter 'action' passed.static void
uploadFileCheck
(org.apache.struts.upload.FormFile file) Methods inherited from class org.bgerp.action.BaseAction
checkModified, dispatchMethod, getForwardJspPath, html, html, json, json, permissionCheck, restoreRequestParams, unspecified, updatePersonalization
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, execute, getMethod, getMethodName, getParameter, unspecified
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
FileAction
public FileAction()
-
-
Method Details
-
unspecified
public org.apache.struts.action.ActionForward unspecified(DynActionForm form, Connection con) throws Exception Description copied from class:BaseAction
Default action method if no parameter 'action' passed. Overwrite and implement.- Overrides:
unspecified
in classBaseAction
- Parameters:
form
-con
-- Returns:
- Throws:
Exception
-
temporaryUpload
public org.apache.struts.action.ActionForward temporaryUpload(DynActionForm form, Connection con) throws BGMessageException - Throws:
BGMessageException
-
uploadFileCheck
public static void uploadFileCheck(org.apache.struts.upload.FormFile file) throws FileNotFoundException, IOException, BGMessageException -
temporaryDelete
-