Class ConsumerPortletInvoker
java.lang.Object
org.gatein.pc.portlet.PortletInvokerInterceptor
org.gatein.pc.portlet.state.consumer.ConsumerPortletInvoker
- All Implemented Interfaces:
org.gatein.pc.api.PortletInvoker
-
Field Summary
Fields inherited from interface org.gatein.pc.api.PortletInvoker
LOCAL_PORTLET_INVOKER_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gatein.pc.api.PortletContextcreateClone(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext portletContext) List<org.gatein.pc.api.state.DestroyCloneFailure> destroyClones(List<org.gatein.pc.api.PortletContext> portletContexts) org.gatein.pc.api.PortletContextexportPortlet(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext portletContext) org.gatein.pc.api.PortletgetPortlet(org.gatein.pc.api.PortletContext portletContext) Set<org.gatein.pc.api.Portlet> org.gatein.pc.api.state.PropertyMapgetProperties(org.gatein.pc.api.PortletContext portletContext) org.gatein.pc.api.state.PropertyMapgetProperties(org.gatein.pc.api.PortletContext portletContext, Set<String> keys) org.gatein.pc.api.PortletContextimportPortlet(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext portletContext) org.gatein.pc.api.invocation.response.PortletInvocationResponseinvoke(org.gatein.pc.api.invocation.PortletInvocation invocation) voidsetPersistenceManager(ConsumerPersistenceManager persistenceManager) org.gatein.pc.api.PortletContextsetProperties(org.gatein.pc.api.PortletContext portletContext, org.gatein.pc.api.state.PropertyChange[] changes) org.gatein.pc.api.PortletContextorg.gatein.pc.api.PortletContextwrapCCP(org.gatein.pc.api.PortletContext ccpCtx) wrapPOP(org.gatein.pc.api.PortletContext popCtx)
-
Constructor Details
-
ConsumerPortletInvoker
public ConsumerPortletInvoker()
-
-
Method Details
-
unwrapCCP
public org.gatein.pc.api.PortletContext unwrapCCP(String wrappedCCP) throws org.gatein.pc.api.InvalidPortletIdException - Throws:
org.gatein.pc.api.InvalidPortletIdException
-
unwrapPOP
public org.gatein.pc.api.PortletContext unwrapPOP(String wrappedPOPId) throws org.gatein.pc.api.InvalidPortletIdException - Throws:
org.gatein.pc.api.InvalidPortletIdException
-
wrapCCP
public String wrapCCP(org.gatein.pc.api.PortletContext ccpCtx) throws org.gatein.pc.api.InvalidPortletIdException - Throws:
org.gatein.pc.api.InvalidPortletIdException
-
wrapPOP
public String wrapPOP(org.gatein.pc.api.PortletContext popCtx) throws org.gatein.pc.api.InvalidPortletIdException - Throws:
org.gatein.pc.api.InvalidPortletIdException
-
setPersistenceManager
-
getPortlets
public Set<org.gatein.pc.api.Portlet> getPortlets() throws org.gatein.pc.api.PortletInvokerException- Specified by:
getPortletsin interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
getPortletsin classPortletInvokerInterceptor- Throws:
org.gatein.pc.api.PortletInvokerException
-
getPortlet
public org.gatein.pc.api.Portlet getPortlet(org.gatein.pc.api.PortletContext portletContext) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException - Specified by:
getPortletin interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
getPortletin classPortletInvokerInterceptor- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerException
-
invoke
public org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(org.gatein.pc.api.invocation.PortletInvocation invocation) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException - Specified by:
invokein interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
invokein classPortletInvokerInterceptor- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerException
-
createClone
public org.gatein.pc.api.PortletContext createClone(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext portletContext) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException, UnsupportedOperationException - Specified by:
createClonein interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
createClonein classPortletInvokerInterceptor- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationException
-
importPortlet
public org.gatein.pc.api.PortletContext importPortlet(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext portletContext) throws org.gatein.pc.api.PortletInvokerException, IllegalArgumentException - Specified by:
importPortletin interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
importPortletin classPortletInvokerInterceptor- Throws:
org.gatein.pc.api.PortletInvokerExceptionIllegalArgumentException
-
exportPortlet
public org.gatein.pc.api.PortletContext exportPortlet(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext portletContext) throws org.gatein.pc.api.PortletInvokerException, IllegalArgumentException - Specified by:
exportPortletin interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
exportPortletin classPortletInvokerInterceptor- Throws:
org.gatein.pc.api.PortletInvokerExceptionIllegalArgumentException
-
destroyClones
public List<org.gatein.pc.api.state.DestroyCloneFailure> destroyClones(List<org.gatein.pc.api.PortletContext> portletContexts) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException, UnsupportedOperationException - Specified by:
destroyClonesin interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
destroyClonesin classPortletInvokerInterceptor- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationException
-
getProperties
public org.gatein.pc.api.state.PropertyMap getProperties(org.gatein.pc.api.PortletContext portletContext, Set<String> keys) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException, UnsupportedOperationException - Specified by:
getPropertiesin interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
getPropertiesin classPortletInvokerInterceptor- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationException
-
getProperties
public org.gatein.pc.api.state.PropertyMap getProperties(org.gatein.pc.api.PortletContext portletContext) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException, UnsupportedOperationException - Specified by:
getPropertiesin interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
getPropertiesin classPortletInvokerInterceptor- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationException
-
setProperties
public org.gatein.pc.api.PortletContext setProperties(org.gatein.pc.api.PortletContext portletContext, org.gatein.pc.api.state.PropertyChange[] changes) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException, UnsupportedOperationException - Specified by:
setPropertiesin interfaceorg.gatein.pc.api.PortletInvoker- Overrides:
setPropertiesin classPortletInvokerInterceptor- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationException
-