当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
PortalObjectCommand - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.core.command
Class PortalObjectCommand
java.lang.Object
org.jboss.portal.common.invocation.Invocation
org.jboss.portal.core.command.ControllerCommand
org.jboss.portal.core.command.PortalObjectCommand
- Direct Known Subclasses:
- MarkupCommand, WindowCommand
- public abstract class PortalObjectCommand
- extends ControllerCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalObjectCommand
public PortalObjectCommand()
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