T
- type of itemD
- type of definitionpublic class JcrCommandAction<T extends javax.jcr.Item,D extends JcrCommandActionDefinition> extends CommandAction<T,D> implements JcrCommandParamsResolver
Constructor and Description |
---|
JcrCommandAction(D definition,
info.magnolia.commands.CommandsManager commandsManager,
ValueContext<T> valueContext,
info.magnolia.context.Context context,
AsyncActionExecutor asyncActionExecutor,
JcrDatasource jcrDatasource) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
buildParams(T item) |
protected Collection<T> |
resolveTargetItems() |
execute, getValueContext
getDefinition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveJcrParams
@Inject public JcrCommandAction(D definition, info.magnolia.commands.CommandsManager commandsManager, ValueContext<T> valueContext, info.magnolia.context.Context context, AsyncActionExecutor asyncActionExecutor, JcrDatasource jcrDatasource)
protected Collection<T> resolveTargetItems()
resolveTargetItems
in class CommandAction<T extends javax.jcr.Item,D extends JcrCommandActionDefinition>
protected Map<String,Object> buildParams(T item)
buildParams
in class CommandAction<T extends javax.jcr.Item,D extends JcrCommandActionDefinition>
Copyright © 2020 Magnolia International Ltd.. All rights reserved.