| Package | Description |
|---|---|
| org.gatein.pc.api | |
| org.gatein.pc.api.invocation |
| Modifier and Type | Class and Description |
|---|---|
class |
StatefulPortletContext<S extends Serializable> |
| Modifier and Type | Field and Description |
|---|---|
static PortletContext |
PortletContext.LOCAL_CONSUMER_CLONE |
| Modifier and Type | Method and Description |
|---|---|
PortletContext |
PortletInvoker.createClone(PortletStateType stateType,
PortletContext portletContext)
Clone a portlet.
|
static PortletContext |
PortletContext.createPortletContext(String portletId)
Creates a PortletContext by interpreting the specified identifier and breaking it down to its components.
|
static PortletContext |
PortletContext.createPortletContext(String portletId,
boolean interpret) |
static PortletContext |
PortletContext.createPortletContext(String id,
byte[] state)
Deprecated.
|
static PortletContext |
PortletContext.createPortletContext(String portletId,
byte[] state,
boolean interpret) |
static PortletContext |
PortletContext.createPortletContext(String applicationName,
String portletName)
Creates a new PortletContext referencing the specified portlet in the specified application (usually a web
application).
|
static PortletContext |
PortletContext.dereference(PortletContext compoundPortletContext) |
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.
|
PortletContext |
Portlet.getContext()
Return the portlet context.
|
PortletContext |
StateEvent.getPortletContext() |
PortletContext |
PortletInvoker.importPortlet(PortletStateType stateType,
PortletContext contextToImport)
Imports a portlet into the invoker.
|
static PortletContext |
PortletContext.reference(String invokerId,
PortletContext portletContext) |
PortletContext |
PortletInvoker.setProperties(PortletContext portletContext,
PropertyChange[] changes)
Set the properties on the specified portlet.
|
| Modifier and Type | Method and Description |
|---|---|
PortletContext |
PortletInvoker.createClone(PortletStateType stateType,
PortletContext portletContext)
Clone a portlet.
|
static PortletContext |
PortletContext.dereference(PortletContext compoundPortletContext) |
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.
|
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.
|
static PortletContext |
PortletContext.reference(String invokerId,
PortletContext portletContext) |
PortletContext |
PortletInvoker.setProperties(PortletContext portletContext,
PropertyChange[] changes)
Set the properties on the specified portlet.
|
| Modifier and Type | Method and Description |
|---|---|
List<DestroyCloneFailure> |
PortletInvoker.destroyClones(List<PortletContext> portletContexts)
Destroy a cloned portlet.
|
| Constructor and Description |
|---|
StateEvent(PortletContext context,
StateEvent.Type type) |
| Modifier and Type | Field and Description |
|---|---|
protected PortletContext |
PortletInvocation.target
The target portlet.
|
| Modifier and Type | Method and Description |
|---|---|
PortletContext |
PortletInvocation.getTarget() |
| Modifier and Type | Method and Description |
|---|---|
void |
PortletInvocation.setTarget(PortletContext target) |
Copyright © 2003-2021 GateIn. All Rights Reserved.