public interface ActionExecutor
Action
,
ActionDefinition
Modifier and Type | Method and Description |
---|---|
void |
execute(String actionName,
Object... args)
Creates a new instance of the action for the supplied name and executes it.
|
ActionDefinition |
getActionDefinition(String actionName)
Performs a lookup for an action definition by name.
|
boolean |
isAvailable(String actionName,
javax.jcr.Item... items)
Evaluates if an action is available for the current user.
|
void execute(String actionName, Object... args) throws ActionExecutionException
ActionExecutionException
- if the action encounters a problem during execution or if no action definition matches the nameActionDefinition getActionDefinition(String actionName)
boolean isAvailable(String actionName, javax.jcr.Item... items)
AvailabilityDefinition
Copyright © 2015 Magnolia International Ltd.. All rights reserved.