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

ViewDashboardCommand - JBOSS Portal 2.6 API 英文版文档


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

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.PortalCommand
                  extended byorg.jboss.portal.core.controller.command.ViewDashboardCommand

public class ViewDashboardCommand
extends PortalCommand

Version:
$Revision: 1.1 $
Author:
Julien Viet

Field Summary
private  Page dashboardPage
          .
private static CommandInfo info
          .
private  java.lang.String userId
          .
 
Fields inherited from class org.jboss.portal.core.controller.command.PortalCommand
portal
 
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
ViewDashboardCommand(java.lang.String portalId)
           
 
Method Summary
 void create()
          Initialize the command
 void enforceSecurity(PortalAuthorizationManager pam)
          Enforce the security on this command using the provided portal authorization manager.
 java.lang.Object execute()
          Execute the command.
 Page getDashboardPage()
           
 CommandInfo getInfo()
          Return the meta data of this command.
 
Methods inherited from class org.jboss.portal.core.controller.command.PortalCommand
getPortal
 
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, getContext, getControllerContext, 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

info

private static final CommandInfo info
.


dashboardPage

private Page dashboardPage
.


userId

private java.lang.String userId
.

Constructor Detail

ViewDashboardCommand

public ViewDashboardCommand(java.lang.String portalId)
Method Detail

getInfo

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

Specified by:
getInfo in class ControllerCommand

create

public void create()
            throws ControllerException
Description copied from class: PortalCommand
Initialize the command

Overrides:
create in class PortalCommand
Throws:
ControllerException

enforceSecurity

public void enforceSecurity(PortalAuthorizationManager pam)
                     throws ControllerSecurityException,
                            PortalSecurityException
Description copied from class: PortalObjectCommand
Enforce the security on this command using the provided portal authorization manager.

Overrides:
enforceSecurity in class PortalObjectCommand
Parameters:
pam - the portal authorization manager
Throws:
ControllerSecurityException - if the access is not granted
PortalSecurityException

execute

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

Specified by:
execute in class ControllerCommand
Throws:
ControllerException

getDashboardPage

public Page getDashboardPage()