org.jboss.portal.core.model.portal.command.render
Class RenderWindowCommand

java.lang.Object
  extended by org.jboss.portal.common.invocation.Invocation
      extended by org.jboss.portal.core.controller.ControllerCommand
          extended by org.jboss.portal.core.model.portal.command.PortalObjectCommand
              extended by org.jboss.portal.core.model.portal.command.PortalCommand
                  extended by org.jboss.portal.core.model.portal.command.PageCommand
                      extended by org.jboss.portal.core.model.portal.command.WindowCommand
                          extended by org.jboss.portal.core.model.portal.command.render.RenderWindowCommand
All Implemented Interfaces:
ContentRendererContext

public class RenderWindowCommand
extends WindowCommand
implements ContentRendererContext

Version:
$Revision: 9006 $
Author:
Julien Viet

Field Summary
 
Fields inherited from class org.jboss.portal.core.model.portal.command.WindowCommand
window
 
Fields inherited from class org.jboss.portal.core.model.portal.command.PageCommand
page
 
Fields inherited from class org.jboss.portal.core.model.portal.command.PortalCommand
portal
 
Fields inherited from class org.jboss.portal.core.model.portal.command.PortalObjectCommand
dashboard, 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
RenderWindowCommand(PortalObjectId windowId)
           
 
Method Summary
 RenderInvocation createRenderInvocation(WindowNavigationalState navigationalState)
           
 ControllerResponse execute()
          Execute the command.
 CommandInfo getInfo()
          Return the meta data of this command.
 WindowNavigationalState getNavigationalState()
           
 User getUser()
           
 WindowRendition render(ControllerContext ctx)
          Hack the command system.
 void setNavigationalState(WindowNavigationalState navigationalState)
           
 
Methods inherited from class org.jboss.portal.core.model.portal.command.WindowCommand
enforceSecurity, getWindow, initPage
 
Methods inherited from class org.jboss.portal.core.model.portal.command.PageCommand
getPage, initPortal
 
Methods inherited from class org.jboss.portal.core.model.portal.command.PortalCommand
acquireResources, getPortal
 
Methods inherited from class org.jboss.portal.core.model.portal.command.PortalObjectCommand
getTarget, getTargetId, isDashboard
 
Methods inherited from class org.jboss.portal.core.controller.ControllerCommand
create, createContext, destroy, destroyContext, getContext, getControllerContext, releaseResources, 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
 
Methods inherited from interface org.jboss.portal.core.model.portal.content.ContentRendererContext
getWindow
 

Constructor Detail

RenderWindowCommand

public RenderWindowCommand(PortalObjectId windowId)
                    throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

getInfo

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

Specified by:
getInfo in class ControllerCommand

render

public WindowRendition render(ControllerContext ctx)
                       throws ControllerException
Hack the command system.

Throws:
ControllerException

execute

public ControllerResponse execute()
                           throws ControllerException
Description copied from class: ControllerCommand
Execute the command.

Specified by:
execute in class ControllerCommand
Throws:
ControllerException

getNavigationalState

public WindowNavigationalState getNavigationalState()
Specified by:
getNavigationalState in interface ContentRendererContext

setNavigationalState

public void setNavigationalState(WindowNavigationalState navigationalState)
Specified by:
setNavigationalState in interface ContentRendererContext

getUser

public User getUser()
Specified by:
getUser in interface ContentRendererContext

createRenderInvocation

public RenderInvocation createRenderInvocation(WindowNavigationalState navigationalState)
Specified by:
createRenderInvocation in interface ContentRendererContext