| Package | Description |
|---|---|
| org.gatein.pc.api |
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidPortletIdException
Thrown by the portlet invoker when a portlet id that is not valid.
|
class |
InvokerUnavailableException |
class |
NoSuchPortletException
Thrown by the portlet invoker when a portlet id does not exist.
|
class |
PortletCloneFailedException |
| Modifier and Type | Method and Description |
|---|---|
PortletContext |
PortletInvoker.createClone(PortletStateType stateType,
PortletContext portletContext)
Clone a portlet.
|
List<DestroyCloneFailure> |
PortletInvoker.destroyClones(List<PortletContext> portletContexts)
Destroy a cloned portlet.
|
PortletContext |
PortletInvoker.exportPortlet(PortletStateType stateType,
PortletContext originalPortletContext)
Exports a portlet from the invoker which can be used to recreate this portlet during an import portlet operation
The returned portlet Id will be the portlet Id of the base portlet, not a cloned portlet Id If the portlet
contains state, it will be returned regardless if the portlet invoker is set to persist state locally.
|
Portlet |
PortletInvoker.getPortlet(PortletContext portletContext)
Get information about a specific portlet.
|
Set<Portlet> |
PortletInvoker.getPortlets()
Return the set of portlet exposed.
|
PropertyMap |
PortletInvoker.getProperties(PortletContext portletContext)
Return all the properties of the specified portlet.
|
PropertyMap |
PortletInvoker.getProperties(PortletContext portletContext,
Set<String> keys)
Return a subset of the properties of the specified portlet.
|
PortletStatus |
PortletInvoker.getStatus(PortletContext portletContext)
Returns the status of a specified
#PortletContext or null if the portlet context does not have a
relationship with this portlet invoker. |
PortletContext |
PortletInvoker.importPortlet(PortletStateType stateType,
PortletContext contextToImport)
Imports a portlet into the invoker.
|
PortletInvocationResponse |
PortletInvoker.invoke(PortletInvocation invocation)
Invoke an operation on a specific portlet.
|
PortletContext |
PortletInvoker.setProperties(PortletContext portletContext,
PropertyChange[] changes)
Set the properties on the specified portlet.
|
Copyright © 2003-2017 GateIn. All Rights Reserved.