|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionExecutor
Responsible for executing actions, doing lookups of action definitions based on action names and evaluating if an action is available. Creates a new instance of the action for each execution and allows the action to receive its action definition object and all parameters given through injection as it is created.
Action
,
ActionDefinition
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |