|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Instance
A shared portlet instance.
| Field Summary | |
|---|---|
static java.lang.String |
INSTANCE_ID_ATTRIBUTE
The attribute name under which the instance id can be accessed. |
| Method Summary | |
|---|---|
void |
destroyCustomization(java.lang.String customizationId)
Destroy the customization |
InstanceContainer |
getContainer()
Return the container of this object. |
InstanceCustomization |
getCustomization(java.lang.String customizationId)
Return a customization of this instance related to the provided customization id. |
org.jboss.portal.common.i18n.LocalizedString |
getDisplayName()
Return the display name |
java.lang.String |
getId()
Return the id. |
org.jboss.portal.portlet.Portlet |
getPortlet()
Return the runtime metadata for this portlet. |
org.jboss.portal.portlet.state.PropertyMap |
getProperties()
Return the instance preferences. |
org.jboss.portal.portlet.state.PropertyMap |
getProperties(java.util.Set keys)
Return the instance preferences. |
org.jboss.portal.portlet.invocation.response.PortletInvocationResponse |
invoke(org.jboss.portal.portlet.invocation.PortletInvocation invocation)
Invoke the instance |
void |
setDisplayName(org.jboss.portal.common.i18n.LocalizedString localizedString)
Set the display name |
void |
setProperties(org.jboss.portal.portlet.state.PropertyChange[] changes)
Update the prefs of this instance. |
| Field Detail |
|---|
static final java.lang.String INSTANCE_ID_ATTRIBUTE
| Method Detail |
|---|
java.lang.String getId()
org.jboss.portal.common.i18n.LocalizedString getDisplayName()
void setDisplayName(org.jboss.portal.common.i18n.LocalizedString localizedString)
localizedString -
org.jboss.portal.portlet.Portlet getPortlet()
throws org.jboss.portal.portlet.PortletInvokerException
org.jboss.portal.portlet.PortletInvokerExceptionInstanceContainer getContainer()
org.jboss.portal.portlet.invocation.response.PortletInvocationResponse invoke(org.jboss.portal.portlet.invocation.PortletInvocation invocation)
throws org.jboss.portal.portlet.PortletInvokerException
invocation - the invocation
org.jboss.portal.portlet.PortletInvokerException
org.jboss.portal.portlet.state.PropertyMap getProperties()
throws org.jboss.portal.portlet.PortletInvokerException
org.jboss.portal.portlet.PortletInvokerException
org.jboss.portal.portlet.state.PropertyMap getProperties(java.util.Set keys)
throws org.jboss.portal.portlet.PortletInvokerException
org.jboss.portal.portlet.PortletInvokerException
void setProperties(org.jboss.portal.portlet.state.PropertyChange[] changes)
throws org.jboss.portal.portlet.PortletInvokerException
changes - the changes
org.jboss.portal.portlet.PortletInvokerExceptionInstanceCustomization getCustomization(java.lang.String customizationId)
void destroyCustomization(java.lang.String customizationId)
customizationId - the id of the customization to destroy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||