info.magnolia.ui.framework.app
Class SubAppActionExecutor

java.lang.Object
  extended by info.magnolia.ui.api.action.AbstractActionExecutor
      extended by info.magnolia.ui.framework.app.SubAppActionExecutor
All Implemented Interfaces:
ActionExecutor

public class SubAppActionExecutor
extends AbstractActionExecutor

ActionExecutor used in the scope of sub apps. Reads the ActionDefinition from the SubAppDescriptor bound to the current SubAppContext.


Constructor Summary
SubAppActionExecutor(info.magnolia.objectfactory.ComponentProvider componentProvider, SubAppContext subAppContext)
           
 
Method Summary
 ActionDefinition getActionDefinition(String actionName)
          Performs a lookup for an action definition by name.
 
Methods inherited from class info.magnolia.ui.api.action.AbstractActionExecutor
createAction, execute, isAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubAppActionExecutor

@Inject
public SubAppActionExecutor(info.magnolia.objectfactory.ComponentProvider componentProvider,
                                   SubAppContext subAppContext)
Method Detail

getActionDefinition

public ActionDefinition getActionDefinition(String actionName)
Description copied from interface: ActionExecutor
Performs a lookup for an action definition by name.

Returns:
the action definition for the supplied action name or null if not found


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.