|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.common.invocation.Invocation org.jboss.portal.core.command.ControllerCommand org.jboss.portal.core.command.PortalObjectCommand org.jboss.portal.core.command.WindowCommand
A superclass for command that target a specific window.
Field Summary | |
protected Instance |
instance
The instance. |
protected Page |
page
The portal. |
protected Portal |
portal
The portal. |
protected Window |
window
The window. |
protected java.lang.String |
windowRef
The window ref. |
Fields inherited from class org.jboss.portal.core.command.ControllerCommand |
context, log |
Constructor Summary | |
WindowCommand(java.lang.String windowRef)
|
Method Summary | |
void |
create()
Setup state before invocation. |
void |
enforceSecurity(PortalAuthorizationManager pam)
We only enforce security at instance and component level. |
Instance |
getInstance()
|
Page |
getPage()
|
Portal |
getPortal()
|
PortalObject |
getTarget()
Return the target portal object of this command. |
Window |
getWindow()
|
java.lang.String |
getWindowRef()
|
Methods inherited from class org.jboss.portal.core.command.ControllerCommand |
destroy, dispatch, execute, getContext, getInfo, setContext |
Methods inherited from class org.jboss.portal.common.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 |
protected java.lang.String windowRef
protected Portal portal
protected Page page
protected Window window
protected Instance instance
Constructor Detail |
public WindowCommand(java.lang.String windowRef) throws java.lang.IllegalArgumentException
Method Detail |
public PortalObject getTarget()
PortalObjectCommand
getTarget
in class PortalObjectCommand
public Instance getInstance()
public java.lang.String getWindowRef()
public Portal getPortal()
public Page getPage()
public Window getWindow()
public void create() throws CommandException
ControllerCommand
create
in class ControllerCommand
CommandException
public void enforceSecurity(PortalAuthorizationManager pam) throws SecurityException, PortalSecurityException
enforceSecurity
in class PortalObjectCommand
pam
-
SecurityException
PortalSecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |