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

PageCommand - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.core.controller.command
Class PageCommand

java.lang.Object
  extended byorg.jboss.portal.common.invocation.Invocation
      extended byorg.jboss.portal.core.controller.ControllerCommand
          extended byorg.jboss.portal.core.controller.command.PortalObjectCommand
              extended byorg.jboss.portal.core.controller.command.PageCommand
Direct Known Subclasses:
RenderPageCommand

public abstract class PageCommand
extends PortalObjectCommand

Version:
$Revision: 1.1 $
Author:
Julien Viet

Field Summary
protected  Page page
          .
protected  Portal portal
          .
 
Fields inherited from class org.jboss.portal.core.controller.command.PortalObjectCommand
target, targetId
 
Fields inherited from class org.jboss.portal.core.controller.ControllerCommand
context, log, NAVIGATIONAL_STATE_SCOPE, PRINCIPAL_SCOPE, REQUEST_SCOPE, SESSION_SCOPE
 
Fields inherited from class org.jboss.portal.common.invocation.Invocation
EMPTY_STACK
 
Constructor Summary
PageCommand(java.lang.String pageId)
           
 
Method Summary
 void create()
          Initialize the command
 Page getPage()
          Get the requested page
 
Methods inherited from class org.jboss.portal.core.controller.command.PortalObjectCommand
enforceSecurity, getTarget, getTargetId, isDashboard
 
Methods inherited from class org.jboss.portal.core.controller.ControllerCommand
createContext, destroy, destroyContext, execute, getContext, getControllerContext, getInfo, rethrow
 
Methods inherited from class org.jboss.portal.common.invocation.Invocation
getAttribute, getHandler, invoke, invokeNext, removeAttribute, setAttribute, setHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

page

protected Page page
.


portal

protected Portal portal
.

Constructor Detail

PageCommand

public PageCommand(java.lang.String pageId)
Method Detail

getPage

public Page getPage()
Get the requested page

Returns:
the requested page

create

public void create()
            throws ControllerException
Initialize the command

Overrides:
create in class PortalObjectCommand
Throws:
InvocationException
ControllerException