public class SaveFormAction extends AbstractAction<SaveFormActionDefinition>
setNodeName(Node, JcrNodeAdapter)
SaveFormActionDefinition
Modifier and Type | Field and Description |
---|---|
protected EditorCallback |
callback |
protected JcrNodeAdapter |
item |
protected EditorValidator |
validator |
Constructor and Description |
---|
SaveFormAction(SaveFormActionDefinition definition,
JcrNodeAdapter item,
EditorCallback callback,
EditorValidator validator) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
protected void |
setNodeName(javax.jcr.Node node,
JcrNodeAdapter item)
Set the node Name.
|
protected boolean |
validateForm() |
getDefinition
protected final JcrNodeAdapter item
protected final EditorCallback callback
protected final EditorValidator validator
public SaveFormAction(SaveFormActionDefinition definition, JcrNodeAdapter item, EditorCallback callback, EditorValidator validator)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionprotected boolean validateForm()
protected void setNodeName(javax.jcr.Node node, JcrNodeAdapter item) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2018 Magnolia International Ltd.. All rights reserved.