当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
WindowCommand - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.core.controller.command
Class WindowCommand
java.lang.Object
org.jboss.portal.common.invocation.Invocation
org.jboss.portal.core.controller.ControllerCommand
org.jboss.portal.core.controller.command.PortalObjectCommand
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portal
protected Portal portal
- The portal.
page
protected Page page
- The portal.
window
protected Window window
- The window.
instance
protected Instance instance
- The instance.
WindowCommand
public WindowCommand(java.lang.String windowId)
throws java.lang.IllegalArgumentException
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