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

WindowCommand - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.command
Class WindowCommand

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
Direct Known Subclasses:
InvokeWindowActionCommand, InvokeWindowMoveCommand, InvokeWindowNavigationCommand, InvokeWindowRenderCommand, RenderWindowCommand

public abstract class WindowCommand
extends PortalObjectCommand

A superclass for command that target a specific window.


Field Summary
protected  Component component
          The component.
protected  Instance instance
          The instance.
protected  Page page
          The portal.
protected  Portal portal
          The portal.
protected  Window window
          The window.
protected  java.lang.String windowHandle
          The window handle.
 
Fields inherited from class org.jboss.portal.core.command.ControllerCommand
context
 
Constructor Summary
WindowCommand(java.lang.String windowHandle)
           
 
Method Summary
 void create()
          Setup state before invocation.
 Component getComponent()
           
 Instance getInstance()
           
 Page getPage()
           
 Portal getPortal()
           
 PortalObject getTarget()
           
 Window getWindow()
           
 java.lang.String getWindowHandle()
           
 
Methods inherited from class org.jboss.portal.core.command.ControllerCommand
destroy, dispatch, execute, getContext, getInfo, 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

windowHandle

protected java.lang.String windowHandle
The window handle.


portal

protected Portal portal
The portal.


page

protected Page page
The portal.


window

protected Window window
The window.


instance

protected Instance instance
The instance.


component

protected Component component
The component.

Constructor Detail

WindowCommand

public WindowCommand(java.lang.String windowHandle)
              throws java.lang.IllegalArgumentException
Method Detail

getTarget

public PortalObject getTarget()
Specified by:
getTarget in class PortalObjectCommand

getWindowHandle

public java.lang.String getWindowHandle()

getPortal

public Portal getPortal()

getPage

public Page getPage()

getWindow

public Window getWindow()

getInstance

public Instance getInstance()

getComponent

public Component getComponent()

create

public void create()
            throws InvocationException
Description copied from class: ControllerCommand
Setup state before invocation.

Overrides:
create in class ControllerCommand
Throws:
InvocationException