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

InstanceMetaData - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.core.metadata
Class InstanceMetaData

java.lang.Object
  extended byorg.jboss.portal.core.metadata.InstanceMetaData
All Implemented Interfaces:
MetaData

public class InstanceMetaData
extends java.lang.Object
implements MetaData

Represent metadata of an instance.


Constructor Summary
InstanceMetaData()
           
 
Method Summary
static InstanceMetaData buildLegacyMetaData(org.w3c.dom.Element instanceElt, java.lang.String pwaId)
           
static InstanceMetaData buildMetaData(org.w3c.dom.Element instanceElt)
           
static PreferenceMetaData buildPreferenceMetaData(org.w3c.dom.Element preferenceElt)
           
static java.util.Map buildPreferencesMetaData(org.w3c.dom.Element portletPreferencesElt)
           
 Instance create(InstancesMetaData.BuildContext buildContext)
           
 java.lang.String getId()
           
 java.lang.String getPortletRef()
           
 PreferencesMetaData getPreferences()
           
protected  SecurityConstraintsMetaData getSecurityConstraints()
           
 void setId(java.lang.String id)
           
 void setPortletRef(java.lang.String portletRef)
           
 void setPreferences(PreferencesMetaData preferences)
           
 void setSecurityConstraints(SecurityConstraintsMetaData securityConstraints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceMetaData

public InstanceMetaData()
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getPreferences

public PreferencesMetaData getPreferences()

setPreferences

public void setPreferences(PreferencesMetaData preferences)

getPortletRef

public java.lang.String getPortletRef()

setPortletRef

public void setPortletRef(java.lang.String portletRef)

getSecurityConstraints

protected SecurityConstraintsMetaData getSecurityConstraints()

setSecurityConstraints

public void setSecurityConstraints(SecurityConstraintsMetaData securityConstraints)

buildMetaData

public static InstanceMetaData buildMetaData(org.w3c.dom.Element instanceElt)

buildLegacyMetaData

public static InstanceMetaData buildLegacyMetaData(org.w3c.dom.Element instanceElt,
                                                   java.lang.String pwaId)
Parameters:
instanceElt - the instance xml element
pwaId - the portlet application id

buildPreferencesMetaData

public static java.util.Map buildPreferencesMetaData(org.w3c.dom.Element portletPreferencesElt)

buildPreferenceMetaData

public static PreferenceMetaData buildPreferenceMetaData(org.w3c.dom.Element preferenceElt)

create

public Instance create(InstancesMetaData.BuildContext buildContext)
                throws PortletInvokerException,
                       DuplicateInstanceException,
                       SecurityConfigurationException
Throws:
PortletInvokerException
DuplicateInstanceException
SecurityConfigurationException