info.magnolia.ui.admincentral.dialog.action
Class SaveDialogAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<SaveDialogActionDefinition>
info.magnolia.ui.admincentral.dialog.action.SaveDialogAction
- All Implemented Interfaces:
- Action
- Direct Known Subclasses:
- RenameUsersFolderAction, SaveGroupDialogAction, SaveRoleDialogAction, SaveUserDialogAction
public class SaveDialogAction
- extends AbstractAction<SaveDialogActionDefinition>
Saves a dialog.
- See Also:
SaveDialogActionDefinition
Method Summary |
void |
execute()
Executes the action. |
protected void |
updateLastModified(javax.jcr.Node currentNode)
Recursively update LastModified for the node until the parent node is of type
mgnl:content or depth=1. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
item
protected final com.vaadin.data.Item item
validator
protected final EditorValidator validator
callback
protected final EditorCallback callback
SaveDialogAction
public SaveDialogAction(SaveDialogActionDefinition definition,
com.vaadin.data.Item item,
EditorValidator validator,
EditorCallback callback)
execute
public void execute()
throws ActionExecutionException
- Description copied from interface:
Action
- Executes the action.
- Throws:
ActionExecutionException
- if an error occurs performing the action
updateLastModified
protected void updateLastModified(javax.jcr.Node currentNode)
throws javax.jcr.RepositoryException
- Recursively update LastModified for the node until the parent node is of type
mgnl:content or depth=1. If it's not the 'website' workspace, do not perform recursion.
- Throws:
javax.jcr.RepositoryException
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.