org.openxava.actions
Class LoadLiferayDocumentAction
java.lang.Object
org.openxava.actions.BaseAction
org.openxava.actions.LoadLiferayDocumentAction
- All Implemented Interfaces:
- IAction, IChangeControllersAction, IChangeModeAction, ICustomViewAction, IModuleContextAction, INavigationAction, IProcessLoadedFileAction, IRequestAction
public class LoadLiferayDocumentAction
- extends BaseAction
- implements INavigationAction, IProcessLoadedFileAction
- Author:
- Oscar Caro
| Methods inherited from class org.openxava.actions.BaseAction |
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getRequest, removeActions, resetDescriptionsCache, returnToPreviousControllers, setContext, setControllers, setDefaultControllers, setEnvironment, setErrors, setMessages, setNextMode, setRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadLiferayDocumentAction
public LoadLiferayDocumentAction()
execute
public void execute()
throws java.lang.Exception
- Specified by:
execute in interface IAction
- Throws:
java.lang.Exception
getNextControllers
public java.lang.String[] getNextControllers()
throws java.lang.Exception
- Specified by:
getNextControllers in interface IChangeControllersAction
- Throws:
java.lang.Exception
getCustomView
public java.lang.String getCustomView()
throws java.lang.Exception
- Description copied from interface:
ICustomViewAction
- The id of a view made directly by developer (not OpenXava view).
In web version is the name of jsp page (without .jsp extension).
This is for inserting jsp (o swing) hand made view in our OpenXava application.
- Specified by:
getCustomView in interface ICustomViewAction
- Throws:
java.lang.Exception
setFileItems
public void setFileItems(java.util.List fileItems)
- Specified by:
setFileItems in interface IProcessLoadedFileAction
- Parameters:
fileItems - List of org.apache.commons.fileupload.FileItem
getView
public View getView()
setView
public void setView(View view)
getFileItems
public java.util.List getFileItems()
updateFileEntry
protected void updateFileEntry(java.lang.String sourceFileName,
java.io.InputStream is,
long size)
throws java.lang.Exception
- Throws:
java.lang.Exception