@Deprecated public class SaveFormAction extends AbstractAction<SaveFormActionDefinition>
setNodeName(Node, JcrNodeAdapter)
SaveFormActionDefinition
Modifier and Type | Field and Description |
---|---|
protected EditorCallback |
callback
Deprecated.
|
protected JcrNodeAdapter |
item
Deprecated.
|
protected EditorValidator |
validator
Deprecated.
|
Constructor and Description |
---|
SaveFormAction(SaveFormActionDefinition definition,
JcrNodeAdapter item,
EditorCallback callback,
EditorValidator validator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Deprecated.
Executes the action.
|
protected void |
setNodeName(javax.jcr.Node node,
JcrNodeAdapter item)
Deprecated.
Set the node Name.
|
protected boolean |
validateForm()
Deprecated.
|
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 © 2020 Magnolia International Ltd.. All rights reserved.