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

WindowCommand - JBOSS Portal 2.6 API 英文版文档


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

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.WindowCommand
Direct Known Subclasses:
InvokeWindowCommand, MoveWindowCommand, RenderWindowCommand

public abstract class WindowCommand
extends PortalObjectCommand

A superclass for command that target a specific window.

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
protected  Instance instance
          The instance.
protected  Page page
          The portal.
protected  Portal portal
          The portal.
protected  Window window
          The window.
 
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
WindowCommand(java.lang.String windowId)
           
 
Method Summary
 void create()
           
 void enforceSecurity(PortalAuthorizationManager pam)
          We only enforce security at instance and component level.
 Instance getInstance()
           
 Page getPage()
           
 Portal getPortal()
           
 Window getWindow()
           
 
Methods inherited from class org.jboss.portal.core.controller.command.PortalObjectCommand
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

portal

protected Portal portal
The portal.


page

protected Page page
The portal.


window

protected Window window
The window.


instance

protected Instance instance
The instance.

Constructor Detail

WindowCommand

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

getInstance

public Instance getInstance()

getPortal

public Portal getPortal()

getPage

public Page getPage()

getWindow

public Window getWindow()

create

public void create()
            throws ControllerException
Overrides:
create in class PortalObjectCommand
Throws:
ControllerException

enforceSecurity

public void enforceSecurity(PortalAuthorizationManager pam)
                     throws ControllerSecurityException,
                            PortalSecurityException
We only enforce security at instance and component level.

Overrides:
enforceSecurity in class PortalObjectCommand
Parameters:
pam -
Throws:
ControllerSecurityException
PortalSecurityException