public class ConsumerPortletInvoker extends PortletInvokerInterceptor
LOCAL_PORTLET_INVOKER_ID| Constructor and Description |
|---|
ConsumerPortletInvoker() |
| Modifier and Type | Method and Description |
|---|---|
PortletContext |
createClone(PortletStateType stateType,
PortletContext portletContext) |
List<DestroyCloneFailure> |
destroyClones(List<PortletContext> portletContexts) |
PortletContext |
exportPortlet(PortletStateType stateType,
PortletContext portletContext) |
Portlet |
getPortlet(PortletContext portletContext) |
Set<Portlet> |
getPortlets() |
PropertyMap |
getProperties(PortletContext portletContext) |
PropertyMap |
getProperties(PortletContext portletContext,
Set<String> keys) |
PortletContext |
importPortlet(PortletStateType stateType,
PortletContext portletContext) |
PortletInvocationResponse |
invoke(PortletInvocation invocation) |
void |
setPersistenceManager(ConsumerPersistenceManager persistenceManager) |
PortletContext |
setProperties(PortletContext portletContext,
PropertyChange[] changes) |
PortletContext |
unwrapCCP(String wrappedCCP) |
PortletContext |
unwrapPOP(String wrappedPOPId) |
String |
wrapCCP(PortletContext ccpCtx) |
String |
wrapPOP(PortletContext popCtx) |
public PortletContext unwrapCCP(String wrappedCCP) throws InvalidPortletIdException
InvalidPortletIdExceptionpublic PortletContext unwrapPOP(String wrappedPOPId) throws InvalidPortletIdException
InvalidPortletIdExceptionpublic String wrapCCP(PortletContext ccpCtx) throws InvalidPortletIdException
InvalidPortletIdExceptionpublic String wrapPOP(PortletContext popCtx) throws InvalidPortletIdException
InvalidPortletIdExceptionpublic void setPersistenceManager(ConsumerPersistenceManager persistenceManager)
public Set<Portlet> getPortlets() throws PortletInvokerException
getPortlets in interface PortletInvokergetPortlets in class PortletInvokerInterceptorPortletInvokerExceptionpublic Portlet getPortlet(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException
getPortlet in interface PortletInvokergetPortlet in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionpublic PortletInvocationResponse invoke(PortletInvocation invocation) throws IllegalArgumentException, PortletInvokerException
invoke in interface PortletInvokerinvoke in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionpublic PortletContext createClone(PortletStateType stateType, PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
createClone in interface PortletInvokercreateClone in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PortletContext importPortlet(PortletStateType stateType, PortletContext portletContext) throws PortletInvokerException, IllegalArgumentException
importPortlet in interface PortletInvokerimportPortlet in class PortletInvokerInterceptorPortletInvokerExceptionIllegalArgumentExceptionpublic PortletContext exportPortlet(PortletStateType stateType, PortletContext portletContext) throws PortletInvokerException, IllegalArgumentException
exportPortlet in interface PortletInvokerexportPortlet in class PortletInvokerInterceptorPortletInvokerExceptionIllegalArgumentExceptionpublic List<DestroyCloneFailure> destroyClones(List<PortletContext> portletContexts) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
destroyClones in interface PortletInvokerdestroyClones in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PropertyMap getProperties(PortletContext portletContext, Set<String> keys) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
getProperties in interface PortletInvokergetProperties in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PropertyMap getProperties(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
getProperties in interface PortletInvokergetProperties in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PortletContext setProperties(PortletContext portletContext, PropertyChange[] changes) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
setProperties in interface PortletInvokersetProperties in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionCopyright © 2003-2017 GateIn. All Rights Reserved.