org.jboss.portal.core.model.instance
Class InvokePortletInstanceCommandFactory

java.lang.Object
  extended by org.jboss.portal.core.model.instance.InvokePortletInstanceCommandFactory
All Implemented Interfaces:
InvokePortletCommandFactory

public class InvokePortletInstanceCommandFactory
extends java.lang.Object
implements InvokePortletCommandFactory

Version:
$Revision: 8786 $
Author:
Julien Viet

Constructor Summary
InvokePortletInstanceCommandFactory(java.lang.String instanceId)
           
 
Method Summary
 ControllerCommand createInvokeActionCommand(ActionURL portletURL)
          Creates a command that will trigger the action url.
 ControllerCommand createInvokeRenderCommand(RenderURL portletURL)
          Creates a command that will trigger the render url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokePortletInstanceCommandFactory

public InvokePortletInstanceCommandFactory(java.lang.String instanceId)
Method Detail

createInvokeActionCommand

public ControllerCommand createInvokeActionCommand(ActionURL portletURL)
Description copied from interface: InvokePortletCommandFactory
Creates a command that will trigger the action url.

Specified by:
createInvokeActionCommand in interface InvokePortletCommandFactory
Parameters:
portletURL - the action url
Returns:
a controller command

createInvokeRenderCommand

public ControllerCommand createInvokeRenderCommand(RenderURL portletURL)
Description copied from interface: InvokePortletCommandFactory
Creates a command that will trigger the render url.

Specified by:
createInvokeRenderCommand in interface InvokePortletCommandFactory
Parameters:
portletURL - the render url
Returns:
a controller command