|
|||||||||
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. |
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 |
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()
Portlet getPortlet() throws PortletInvokerException
PortletInvokerException
InstanceContainer 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
PortletInvokerException
InstanceCustomization 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 |