当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
PortalObjectMetaData - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.core.metadata
Class PortalObjectMetaData
java.lang.Object
org.jboss.portal.core.metadata.PortalObjectMetaData
- All Implemented Interfaces:
- MetaData
- Direct Known Subclasses:
- PageMetaData, PortalMetaData, WindowMetaData
- public abstract class PortalObjectMetaData
- extends java.lang.Object
- implements MetaData
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
private static org.jboss.logging.Logger log
trace
private static boolean trace
name
private java.lang.String name
listener
private java.lang.String listener
properties
private java.util.Map properties
children
private java.util.Map children
securityConstraints
private SecurityConstraintsMetaData securityConstraints
PortalObjectMetaData
public PortalObjectMetaData()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getListener
public java.lang.String getListener()
setListener
public void setListener(java.lang.String listener)
getProperties
public java.util.Map getProperties()
setProperties
public void setProperties(java.util.Map properties)
getChildren
public java.util.Map getChildren()
setChildren
public void setChildren(java.util.Map children)
getSecurityConstraints
public SecurityConstraintsMetaData getSecurityConstraints()
setSecurityConstraints
public void setSecurityConstraints(SecurityConstraintsMetaData securityConstraints)
create
public abstract PortalObject create(PortalObject parent,
PortalObjectMetaData.BuildContext buildContext)
throws java.lang.Exception
- Create an instance of the corresponding portal object.
- Parameters:
parent
- the parent objectbuildContext
- the context
- Returns:
- the corresponding portal object
- Throws:
java.lang.Exception
- any exception
configure
protected void configure(PortalObject object,
PortalObjectMetaData.BuildContext buildContext)
throws SecurityConfigurationException
- Throws:
SecurityConfigurationException
buildMetaData
public static PortalObjectMetaData buildMetaData(org.w3c.dom.Element portalObjectElt)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildPropertiesMetaData
public static void buildPropertiesMetaData(PortalObjectMetaData portalObjectMD,
org.w3c.dom.Element propertiesElt)
buildListenerMetaData
public static void buildListenerMetaData(PortalObjectMetaData portalObjectMD,
org.w3c.dom.Element listenerElt)
toString
public java.lang.String toString()