|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.core.metadata.InstanceMetaData
Represent metadata of an instance.
Field Summary | |
private java.lang.String |
id
The instance id. |
private static org.apache.log4j.Logger |
log
The logger. |
private java.lang.String |
portletRef
The portlet referenced by the instance. |
private PreferencesMetaData |
preferences
The specific preferences of this instance. |
private SecurityConstraintsMetaData |
securityConstraints
The security constraints. |
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 |
Field Detail |
private static final org.apache.log4j.Logger log
private java.lang.String id
private PreferencesMetaData preferences
private java.lang.String portletRef
private SecurityConstraintsMetaData securityConstraints
Constructor Detail |
public InstanceMetaData()
Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
public PreferencesMetaData getPreferences()
public void setPreferences(PreferencesMetaData preferences)
public java.lang.String getPortletRef()
public void setPortletRef(java.lang.String portletRef)
protected SecurityConstraintsMetaData getSecurityConstraints()
public void setSecurityConstraints(SecurityConstraintsMetaData securityConstraints)
public static InstanceMetaData buildMetaData(org.w3c.dom.Element instanceElt)
public static InstanceMetaData buildLegacyMetaData(org.w3c.dom.Element instanceElt, java.lang.String pwaId)
instanceElt
- the instance xml elementpwaId
- the portlet application idpublic static java.util.Map buildPreferencesMetaData(org.w3c.dom.Element portletPreferencesElt)
public static PreferenceMetaData buildPreferenceMetaData(org.w3c.dom.Element preferenceElt)
public Instance create(InstancesMetaData.BuildContext buildContext) throws PortletInvokerException, DuplicateInstanceException, SecurityConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |