public class FederatedPortletInvokerService extends Object implements FederatedPortletInvoker
| Constructor and Description |
|---|
FederatedPortletInvokerService(FederatingPortletInvoker federatingPortletInvoker,
String id,
org.gatein.pc.api.PortletInvoker portletInvoker) |
| Modifier and Type | Method and Description |
|---|---|
org.gatein.pc.api.PortletContext |
createClone(org.gatein.pc.api.PortletStateType stateType,
org.gatein.pc.api.PortletContext compoundPortletContext) |
List<org.gatein.pc.api.state.DestroyCloneFailure> |
destroyClones(List<org.gatein.pc.api.PortletContext> portletContexts) |
org.gatein.pc.api.PortletContext |
exportPortlet(org.gatein.pc.api.PortletStateType stateType,
org.gatein.pc.api.PortletContext compoundPortletContext) |
FederatingPortletInvoker |
getFederatingPortletInvoker() |
String |
getId()
Return the invoker id.
|
org.gatein.pc.api.Portlet |
getPortlet(org.gatein.pc.api.PortletContext compoundPortletContext) |
org.gatein.pc.api.PortletInvoker |
getPortletInvoker()
Return the underlying portlet invoker.
|
Set<org.gatein.pc.api.Portlet> |
getPortlets() |
org.gatein.pc.api.state.PropertyMap |
getProperties(org.gatein.pc.api.PortletContext compoundPortletContext) |
org.gatein.pc.api.state.PropertyMap |
getProperties(org.gatein.pc.api.PortletContext compoundPortletContext,
Set<String> keys) |
org.gatein.pc.api.PortletStatus |
getStatus(org.gatein.pc.api.PortletContext portletContext) |
org.gatein.pc.api.PortletContext |
importPortlet(org.gatein.pc.api.PortletStateType stateType,
org.gatein.pc.api.PortletContext compoundPortletContext) |
org.gatein.pc.api.invocation.response.PortletInvocationResponse |
invoke(org.gatein.pc.api.invocation.PortletInvocation invocation) |
boolean |
isActive() |
org.gatein.pc.api.PortletContext |
setProperties(org.gatein.pc.api.PortletContext compoundPortletContext,
org.gatein.pc.api.state.PropertyChange[] changes) |
public FederatedPortletInvokerService(FederatingPortletInvoker federatingPortletInvoker, String id, org.gatein.pc.api.PortletInvoker portletInvoker)
public org.gatein.pc.api.PortletInvoker getPortletInvoker()
FederatedPortletInvokergetPortletInvoker in interface FederatedPortletInvokerpublic boolean isActive()
isActive in interface org.gatein.pc.api.PortletInvokerpublic String getId()
FederatedPortletInvokergetId in interface FederatedPortletInvokerpublic FederatingPortletInvoker getFederatingPortletInvoker()
public Set<org.gatein.pc.api.Portlet> getPortlets() throws org.gatein.pc.api.PortletInvokerException
getPortlets in interface org.gatein.pc.api.PortletInvokerorg.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.Portlet getPortlet(org.gatein.pc.api.PortletContext compoundPortletContext)
throws IllegalArgumentException,
org.gatein.pc.api.PortletInvokerException
getPortlet in interface org.gatein.pc.api.PortletInvokerIllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.PortletStatus getStatus(org.gatein.pc.api.PortletContext portletContext)
throws IllegalArgumentException,
org.gatein.pc.api.PortletInvokerException
getStatus in interface org.gatein.pc.api.PortletInvokerIllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(org.gatein.pc.api.invocation.PortletInvocation invocation)
throws org.gatein.pc.api.invocation.InvocationException,
org.gatein.pc.api.PortletInvokerException
invoke in interface org.gatein.pc.api.PortletInvokerorg.gatein.pc.api.invocation.InvocationExceptionorg.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.PortletContext createClone(org.gatein.pc.api.PortletStateType stateType,
org.gatein.pc.api.PortletContext compoundPortletContext)
throws org.gatein.pc.api.PortletInvokerException
createClone in interface org.gatein.pc.api.PortletInvokerorg.gatein.pc.api.PortletInvokerExceptionpublic List<org.gatein.pc.api.state.DestroyCloneFailure> destroyClones(List<org.gatein.pc.api.PortletContext> portletContexts) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException, UnsupportedOperationException
destroyClones in interface org.gatein.pc.api.PortletInvokerIllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationExceptionpublic org.gatein.pc.api.state.PropertyMap getProperties(org.gatein.pc.api.PortletContext compoundPortletContext)
throws org.gatein.pc.api.PortletInvokerException
getProperties in interface org.gatein.pc.api.PortletInvokerorg.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.state.PropertyMap getProperties(org.gatein.pc.api.PortletContext compoundPortletContext,
Set<String> keys)
throws IllegalArgumentException,
org.gatein.pc.api.PortletInvokerException,
UnsupportedOperationException
getProperties in interface org.gatein.pc.api.PortletInvokerIllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationExceptionpublic org.gatein.pc.api.PortletContext setProperties(org.gatein.pc.api.PortletContext compoundPortletContext,
org.gatein.pc.api.state.PropertyChange[] changes)
throws IllegalArgumentException,
org.gatein.pc.api.PortletInvokerException,
UnsupportedOperationException
setProperties in interface org.gatein.pc.api.PortletInvokerIllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationExceptionpublic org.gatein.pc.api.PortletContext exportPortlet(org.gatein.pc.api.PortletStateType stateType,
org.gatein.pc.api.PortletContext compoundPortletContext)
throws org.gatein.pc.api.PortletInvokerException
exportPortlet in interface org.gatein.pc.api.PortletInvokerorg.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.PortletContext importPortlet(org.gatein.pc.api.PortletStateType stateType,
org.gatein.pc.api.PortletContext compoundPortletContext)
throws org.gatein.pc.api.PortletInvokerException
importPortlet in interface org.gatein.pc.api.PortletInvokerorg.gatein.pc.api.PortletInvokerExceptionCopyright © 2003-2016 GateIn. All Rights Reserved.