当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
ViewDashboardCommand - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.core.controller.command
Class ViewDashboardCommand
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.PortalCommand
org.jboss.portal.core.controller.command.ViewDashboardCommand
- public class ViewDashboardCommand
- extends PortalCommand
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
info
private static final CommandInfo info
- .
dashboardPage
private Page dashboardPage
- .
userId
private java.lang.String userId
- .
ViewDashboardCommand
public ViewDashboardCommand(java.lang.String portalId)
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()