当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
InstanceMetaData - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.core.metadata
Class InstanceMetaData
java.lang.Object
org.jboss.portal.core.metadata.InstanceMetaData
- All Implemented Interfaces:
- MetaData
- public class InstanceMetaData
- extends java.lang.Object
- implements MetaData
Represent metadata of an instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceMetaData
public InstanceMetaData()
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 elementpwaId
- 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