站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

InvokeWindowActionCommand - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.command
Class InvokeWindowActionCommand

java.lang.Object
  extended byorg.jboss.portal.server.invocation.Invocation
      extended byorg.jboss.portal.core.command.ControllerCommand
          extended byorg.jboss.portal.core.command.PortalObjectCommand
              extended byorg.jboss.portal.core.command.WindowCommand
                  extended byorg.jboss.portal.core.command.InvokeWindowActionCommand

public class InvokeWindowActionCommand
extends WindowCommand


Field Summary
protected  Mode mode
           
protected  Parameters parameters
           
protected  WindowState windowState
           
 
Fields inherited from class org.jboss.portal.core.command.WindowCommand
component, instance, page, portal, window, windowHandle
 
Fields inherited from class org.jboss.portal.core.command.ControllerCommand
context
 
Constructor Summary
InvokeWindowActionCommand(java.lang.String windowHandle, Mode mode, WindowState windowState, Parameters params)
           
 
Method Summary
 void execute()
          Execute the command.
 CommandInfo getInfo()
          Return the meta data of this command.
 Mode getMode()
           
 Parameters getParameters()
           
 WindowState getWindowState()
           
 void setMode(Mode mode)
           
 void setParameters(Parameters parameters)
           
 void setWindowState(WindowState windowState)
           
 
Methods inherited from class org.jboss.portal.core.command.WindowCommand
create, getComponent, getInstance, getPage, getPortal, getTarget, getWindow, getWindowHandle
 
Methods inherited from class org.jboss.portal.core.command.ControllerCommand
destroy, dispatch, getContext, setContext
 
Methods inherited from class org.jboss.portal.server.invocation.Invocation
getAttribute, invoke, invokeNext, removeAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mode

protected Mode mode

windowState

protected WindowState windowState

parameters

protected Parameters parameters
Constructor Detail

InvokeWindowActionCommand

public InvokeWindowActionCommand(java.lang.String windowHandle,
                                 Mode mode,
                                 WindowState windowState,
                                 Parameters params)
                          throws java.lang.IllegalArgumentException
Method Detail

getInfo

public CommandInfo getInfo()
Description copied from class: ControllerCommand
Return the meta data of this command.

Specified by:
getInfo in class ControllerCommand

getMode

public Mode getMode()

setMode

public void setMode(Mode mode)

getWindowState

public WindowState getWindowState()

setWindowState

public void setWindowState(WindowState windowState)

getParameters

public Parameters getParameters()

setParameters

public void setParameters(Parameters parameters)

execute

public void execute()
             throws InvocationException
Description copied from class: ControllerCommand
Execute the command.

Specified by:
execute in class ControllerCommand
Throws:
InvocationException