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

PortalObjectCommand - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.core.command
Class PortalObjectCommand

java.lang.Object
  extended byorg.jboss.portal.common.invocation.Invocation
      extended byorg.jboss.portal.core.command.ControllerCommand
          extended byorg.jboss.portal.core.command.PortalObjectCommand
Direct Known Subclasses:
MarkupCommand, WindowCommand

public abstract class PortalObjectCommand
extends ControllerCommand


Field Summary
 
Fields inherited from class org.jboss.portal.core.command.ControllerCommand
context, log
 
Constructor Summary
PortalObjectCommand()
           
 
Method Summary
 void enforceSecurity(PortalAuthorizationManager pam)
          Enforce the security on this command using the provided portal authorization manager.
abstract  PortalObject getTarget()
          Return the target portal object of this command.
 
Methods inherited from class org.jboss.portal.core.command.ControllerCommand
create, 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
 

Constructor Detail

PortalObjectCommand

public PortalObjectCommand()
Method Detail

enforceSecurity

public void enforceSecurity(PortalAuthorizationManager pam)
                     throws SecurityException,
                            PortalSecurityException
Enforce the security on this command using the provided portal authorization manager.

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

getTarget

public abstract PortalObject getTarget()
Return the target portal object of this command.

Returns:
the target portal object