Package org.openxava.actions
Class LoadAttachedFileAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.AttachedFileBaseAction
-
- org.openxava.actions.LoadAttachedFileAction
-
- All Implemented Interfaces:
IAction
,IChangeModeAction
,IModuleContextAction
,IProcessLoadedFileAction
,IRequestAction
public class LoadAttachedFileAction extends AttachedFileBaseAction implements IProcessLoadedFileAction
Logic of AttachedFileEditor.load action in default-controllers.xml.Instance
AttachedFile
object and stores it in a file container.- Author:
- Jeromy Altuna, Javier Paniza
-
-
Field Summary
-
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
-
-
Constructor Summary
Constructors Constructor Description LoadAttachedFileAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
java.util.List
getFileItems()
void
setFileItems(java.util.List fileItems)
-
Methods inherited from class org.openxava.actions.AttachedFileBaseAction
getProperty, setProperty, trackModification
-
Methods inherited from class org.openxava.actions.ViewBaseAction
changeThisPropertyByViewValue, closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, showView, validateViewValues
-
Methods inherited from class org.openxava.actions.BaseAction
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, commit, executeAction, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getQualifiedActionIfAvailable, getRequest, removeActions, returnToPreviousControllers, rollback, setContext, setDefaultControllers, setEnvironment, setErrors, setMessages, setNextMode, setRequest
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openxava.actions.IAction
getErrors, getMessages, setEnvironment, setErrors, setMessages
-
-
-
-
Method Detail
-
execute
public void execute() throws java.lang.Exception
-
getFileItems
public java.util.List getFileItems()
-
setFileItems
public void setFileItems(java.util.List fileItems)
- Specified by:
setFileItems
in interfaceIProcessLoadedFileAction
- Parameters:
fileItems
- List oforg.apache.commons.fileupload.FileItem
-
-