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

PortalObjectMetaData - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.core.metadata
Class PortalObjectMetaData

java.lang.Object
  extended byorg.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


Nested Class Summary
static interface PortalObjectMetaData.BuildContext
          Define the spi for creating a portal object.
 
Constructor Summary
PortalObjectMetaData()
           
 
Method Summary
static void buildListenerMetaData(PortalObjectMetaData portalObjectMD, org.w3c.dom.Element listenerElt)
           
static PortalObjectMetaData buildMetaData(org.w3c.dom.Element portalObjectElt)
           
static void buildPropertiesMetaData(PortalObjectMetaData portalObjectMD, org.w3c.dom.Element propertiesElt)
           
protected  void configure(PortalObject object, PortalObjectMetaData.BuildContext buildContext)
           
abstract  PortalObject create(PortalObject parent, PortalObjectMetaData.BuildContext buildContext)
          Create an instance of the corresponding portal object.
 java.util.Map getChildren()
           
 java.lang.String getListener()
           
 java.lang.String getName()
           
 java.util.Map getProperties()
           
 SecurityConstraintsMetaData getSecurityConstraints()
           
 void setChildren(java.util.Map children)
           
 void setListener(java.lang.String listener)
           
 void setName(java.lang.String name)
           
 void setProperties(java.util.Map properties)
           
 void setSecurityConstraints(SecurityConstraintsMetaData securityConstraints)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortalObjectMetaData

public PortalObjectMetaData()
Method Detail

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 object
buildContext - 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()