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

RenderPageCommand - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.command
Class RenderPageCommand

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.RenderPageCommand

public class RenderPageCommand
extends PortalObjectCommand

Render a full page.


Field Summary
static java.lang.String SHOW
           
static java.lang.String WINDOW_ACCESS_DENIED
           
static java.lang.String WINDOW_ERROR
           
static java.lang.String WINDOW_NOT_FOUND
           
static java.lang.String WINDOW_UNAVAILABLE
           
 
Fields inherited from class org.jboss.portal.core.command.ControllerCommand
context
 
Constructor Summary
RenderPageCommand(java.lang.String pageHandle)
           
RenderPageCommand(java.lang.String pageHandle, java.lang.String windowHandle)
           
 
Method Summary
 void create()
          Setup state before invocation.
 void execute()
          Execute the command.
 CommandInfo getInfo()
          Return the meta data of this command.
 Page getPage()
           
 java.lang.String getPageHandle()
           
 java.lang.String[] getRegionNames(Page page)
          Return all the regions names of this page, the value is computed from the union of the regions of the getWindows.
 PortalObject getTarget()
           
 
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

WINDOW_ACCESS_DENIED

public static java.lang.String WINDOW_ACCESS_DENIED

WINDOW_UNAVAILABLE

public static java.lang.String WINDOW_UNAVAILABLE

WINDOW_ERROR

public static java.lang.String WINDOW_ERROR

WINDOW_NOT_FOUND

public static java.lang.String WINDOW_NOT_FOUND

SHOW

public static java.lang.String SHOW
Constructor Detail

RenderPageCommand

public RenderPageCommand(java.lang.String pageHandle)

RenderPageCommand

public RenderPageCommand(java.lang.String pageHandle,
                         java.lang.String windowHandle)
Method Detail

getTarget

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

getInfo

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

Specified by:
getInfo in class ControllerCommand

getPageHandle

public java.lang.String getPageHandle()

getPage

public Page getPage()

create

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

Overrides:
create in class ControllerCommand
Throws:
InvocationException

execute

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

Specified by:
execute in class ControllerCommand
Throws:
InvocationException

getRegionNames

public java.lang.String[] getRegionNames(Page page)
Return all the regions names of this page, the value is computed from the union of the regions of the getWindows.