D
- ActionDefinition type. * @param T
- Node
or Property
class.public abstract class AbstractJcrAction<T extends javax.jcr.Item,D extends ActionDefinition> extends AbstractAction<D>
process(Item)
API separately on
each item stored in ValueContext
.Constructor and Description |
---|
AbstractJcrAction(D definition,
ValueContext<T> valueContext,
info.magnolia.jcr.util.NodeNameHelper nodeNameHelper) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
protected abstract T |
process(T node) |
getDefinition
@Inject public AbstractJcrAction(D definition, ValueContext<T> valueContext, info.magnolia.jcr.util.NodeNameHelper nodeNameHelper)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionCopyright © 2020 Magnolia International Ltd.. All rights reserved.