org.openxava.actions
Class AddLiferayDocumentAction

java.lang.Object
  extended by org.openxava.actions.BaseAction
      extended by org.openxava.actions.AddLiferayDocumentAction
All Implemented Interfaces:
IAction, IChangeControllersAction, IChangeModeAction, ICustomViewAction, ILoadFileAction, IModuleContextAction, INavigationAction, IRequestAction

public class AddLiferayDocumentAction
extends BaseAction
implements ILoadFileAction

Author:
Oscar Caro

Field Summary
 
Fields inherited from interface org.openxava.actions.IChangeControllersAction
DEFAULT_CONTROLLERS, EMPTY_CONTROLLER, PREVIOUS_CONTROLLERS, SAME_CONTROLLERS
 
Fields inherited from interface org.openxava.actions.ICustomViewAction
DEFAULT_VIEW, PREVIOUS_VIEW, SAME_VIEW
 
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
 
Constructor Summary
AddLiferayDocumentAction()
           
 
Method Summary
 void execute()
           
 java.lang.String getCustomView()
          The id of a view made directly by developer (not OpenXava view).
 java.lang.String[] getNextControllers()
           
 boolean isLoadFile()
           
 
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
 
Methods inherited from interface org.openxava.actions.IAction
getErrors, getMessages, setEnvironment, setErrors, setMessages
 
Methods inherited from interface org.openxava.actions.IAction
getErrors, getMessages, setEnvironment, setErrors, setMessages
 

Constructor Detail

AddLiferayDocumentAction

public AddLiferayDocumentAction()
Method Detail

isLoadFile

public boolean isLoadFile()
Specified by:
isLoadFile in interface ILoadFileAction

getNextControllers

public java.lang.String[] getNextControllers()
                                      throws java.lang.Exception
Specified by:
getNextControllers in interface IChangeControllersAction
Throws:
java.lang.Exception

execute

public void execute()
             throws java.lang.Exception
Specified by:
execute in interface IAction
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