Package org.openxava.actions
Class LoadImageAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.LoadImageAction
-
- All Implemented Interfaces:
IAction
,IChangeModeAction
,IModuleContextAction
,IProcessLoadedFileAction
,IRequestAction
public class LoadImageAction extends ViewBaseAction implements IProcessLoadedFileAction
- Author:
- Javier Paniza
-
-
Field Summary
-
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
-
-
Constructor Summary
Constructors Constructor Description LoadImageAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
java.util.List
getFileItems()
java.lang.String
getProperty()
void
setFileItems(java.util.List fileItems)
void
setProperty(java.lang.String property)
-
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
-
getProperty
public java.lang.String getProperty()
-
setProperty
public void setProperty(java.lang.String property)
-
-