Package org.openxava.actions
Class LoadIntoAttachedFilesAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.GenerateIdForPropertyBaseAction
-
- org.openxava.actions.LoadIntoAttachedFilesAction
-
- All Implemented Interfaces:
IAction
,IChangeModeAction
,IModuleContextAction
,IProcessLoadedFileAction
,IRequestAction
public class LoadIntoAttachedFilesAction extends GenerateIdForPropertyBaseAction implements IProcessLoadedFileAction
Logic of AttachedFilesEditor.load action in default-controllers.xml.- Author:
- Jeromy Altuna
-
-
Field Summary
-
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
-
-
Constructor Summary
Constructors Constructor Description LoadIntoAttachedFilesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
java.lang.String
getProperty()
void
setFileItems(java.util.List fileItems)
void
setProperty(java.lang.String property)
-
Methods inherited from class org.openxava.actions.GenerateIdForPropertyBaseAction
generateIdForProperty
-
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
-
setFileItems
public void setFileItems(java.util.List fileItems)
- Specified by:
setFileItems
in interfaceIProcessLoadedFileAction
- Parameters:
fileItems
- List oforg.apache.commons.fileupload.FileItem
-
getProperty
public java.lang.String getProperty()
-
setProperty
public void setProperty(java.lang.String property)
-
-