|
|||||||||
| 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. |
LocalizedString |
getDisplayName()
Return the display name |
java.lang.String |
getId()
Return the id. |
Portlet |
getPortlet()
Return the runtime metadata for this portlet. |
PropertyMap |
getProperties()
Return the instance preferences. |
PropertyMap |
getProperties(java.util.Set keys)
Return the instance preferences. |
PortletInvocationResponse |
invoke(PortletInvocation invocation)
Invoke the instance |
void |
setDisplayName(LocalizedString localizedString)
Set the display name |
void |
setProperties(PropertyChange[] changes)
Update the prefs of this instance. |
| Field Detail |
|---|
static final java.lang.String INSTANCE_ID_ATTRIBUTE
| Method Detail |
|---|
java.lang.String getId()
LocalizedString getDisplayName()
void setDisplayName(LocalizedString localizedString)
localizedString -
Portlet getPortlet()
throws PortletInvokerException
PortletInvokerExceptionInstanceContainer getContainer()
PortletInvocationResponse invoke(PortletInvocation invocation)
throws PortletInvokerException
invocation - the invocation
PortletInvokerException
PropertyMap getProperties()
throws PortletInvokerException
PortletInvokerException
PropertyMap getProperties(java.util.Set keys)
throws PortletInvokerException
PortletInvokerException
void setProperties(PropertyChange[] changes)
throws PortletInvokerException
changes - the changes
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 | ||||||||