Package org.openxava.actions
Class SetEditableAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.SetEditableAction
-
- All Implemented Interfaces:
IAction,IChangeModeAction,IModuleContextAction,IRequestAction
public class SetEditableAction extends ViewBaseAction
- Author:
- Javier Paniza
-
-
Field Summary
-
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
-
-
Constructor Summary
Constructors Constructor Description SetEditableAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()booleanisEditable()booleanisKeyEditable()voidsetEditable(boolean editable)voidsetKeyEditable(boolean keyEditable)-
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
-
-
-
-
Method Detail
-
execute
public void execute() throws java.lang.Exception- Throws:
java.lang.Exception
-
setEditable
public void setEditable(boolean editable)
-
isEditable
public boolean isEditable()
-
setKeyEditable
public void setKeyEditable(boolean keyEditable)
-
isKeyEditable
public boolean isKeyEditable()
-
-