Package org.openxava.actions
Class SetPersistenceUnitAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.SetPersistenceUnitAction
-
- All Implemented Interfaces:
IAction
,IChangeModeAction
,IModuleContextAction
,IRequestAction
public class SetPersistenceUnitAction extends BaseAction
- Since:
- 4.2.2
- Author:
- Javier Paniza
-
-
Field Summary
-
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
-
-
Constructor Summary
Constructors Constructor Description SetPersistenceUnitAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
java.lang.String
getNewPersistenceUnit()
java.lang.String
getPersistenceUnit()
void
setNewPersistenceUnit(java.lang.String newPersistenceUnit)
void
setPersistenceUnit(java.lang.String persistenceUnit)
-
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, resetDescriptionsCache, returnToPreviousControllers, rollback, setContext, setControllers, setDefaultControllers, setEnvironment, setErrors, setMessages, setNextMode, setRequest
-
-
-
-
Method Detail
-
execute
public void execute() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getPersistenceUnit
public java.lang.String getPersistenceUnit()
-
setPersistenceUnit
public void setPersistenceUnit(java.lang.String persistenceUnit)
-
getNewPersistenceUnit
public java.lang.String getNewPersistenceUnit()
-
setNewPersistenceUnit
public void setNewPersistenceUnit(java.lang.String newPersistenceUnit)
-
-