org.jboss.portal.core.model.portal.command.view
Class ViewPortalCommand

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.view.ViewPortalCommand

public class ViewPortalCommand
extends PortalCommand

Version:
$Revision: 8786 $
Author:
Julien Viet

Field Summary
 
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
ViewPortalCommand(PortalObjectId pageId)
           
 
Method Summary
 ControllerResponse execute()
          Execute the command.
 CommandInfo getInfo()
          Return the meta data of this command.
protected  Portal 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
enforceSecurity, 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
 

Constructor Detail

ViewPortalCommand

public ViewPortalCommand(PortalObjectId pageId)
Method Detail

getInfo

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

Specified by:
getInfo in class ControllerCommand

initPortal

protected Portal initPortal()
Specified by:
initPortal in class PortalCommand

execute

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

Specified by:
execute in class ControllerCommand
Throws:
ControllerException