Package tools.dynamia.crud.actions
Class SaveAction
java.lang.Object
tools.dynamia.actions.AbstractAction
tools.dynamia.actions.AbstractClassAction
tools.dynamia.crud.AbstractCrudAction
tools.dynamia.crud.actions.SaveAction
- All Implemented Interfaces:
Comparable<Action>,Action,ClassAction,CrudAction
- Direct Known Subclasses:
SaveAndEditAction,SaveAndNewAction
- Author:
- Mario A. Serrano Leones
-
Field Summary
Fields inherited from class tools.dynamia.actions.AbstractAction
CLASSIFIER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidafterSave(Object entity, GenericCrudView crud) By default CrudState.READ is returnedMethods inherited from class tools.dynamia.crud.AbstractCrudAction
actionPerformed, crudService, getApplicableClass, getApplicableClasses, isMenuSupported, setApplicableClass, setApplicableClasses, setApplicableStates, setMenuSupportedMethods inherited from class tools.dynamia.actions.AbstractAction
compareTo, getAttribute, getAttributes, getBackground, getColor, getDescription, getGroup, getId, getImage, getKeyCode, getLocalizedDescription, getLocalizedMessagesProvider, getLocalizedName, getMessageClassifier, getName, getParent, getPosition, getRenderer, getSclass, getType, isEnabled, isShowLabel, isVisible, log, log, logWarn, msg, msg, setAttribute, setAttributes, setBackground, setColor, setDescription, setEnabled, setGroup, setId, setImage, setKeyCode, setLocalizedMessagesProvider, setMessageClassifier, setName, setParent, setPosition, setRenderer, setSclass, setShowLabel, setType, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tools.dynamia.actions.Action
getAttribute, getAttributes, getDescription, getGroup, getId, getImage, getKeyCode, getLocalizedDescription, getLocalizedDescription, getLocalizedMessagesProvider, getLocalizedName, getLocalizedName, getMessageClassifier, getName, getParent, getPosition, getRenderer, isEnabled, isVisible, setAttribute, setParentMethods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
SaveAction
public SaveAction()
-
-
Method Details
-
getApplicableStates
Description copied from class:AbstractCrudActionBy default CrudState.READ is returned- Specified by:
getApplicableStatesin interfaceCrudAction- Overrides:
getApplicableStatesin classAbstractCrudAction- Returns:
- CrudState array
-
actionPerformed
- Specified by:
actionPerformedin classAbstractCrudAction
-
afterSave
-