|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.PortletInvokerInterceptor
org.jboss.portal.portlet.state.consumer.ConsumerPortletInvoker
public class ConsumerPortletInvoker
| Constructor Summary | |
|---|---|
ConsumerPortletInvoker()
|
|
| Method Summary | |
|---|---|
PortletContext |
createClone(PortletContext portletContext)
Clone a portlet. |
java.util.List<DestroyCloneFailure> |
destroyClones(java.util.List<PortletContext> portletContexts)
Destroy a cloned portlet. |
Portlet |
getPortlet(PortletContext portletContext)
Get information about a specific portlet. |
java.util.Set<Portlet> |
getPortlets()
Return the set of portlet exposed. |
PropertyMap |
getProperties(PortletContext portletContext)
Return all the properties of the specified portlet. |
PropertyMap |
getProperties(PortletContext portletContext,
java.util.Set<java.lang.String> keys)
Return a subset of the properties of the specified portlet. |
PortletInvocationResponse |
invoke(PortletInvocation invocation)
Invoke an operation on a specific portlet. |
void |
setPersistenceManager(ConsumerPersistenceManager persistenceManager)
|
PortletContext |
setProperties(PortletContext portletContext,
PropertyChange[] changes)
Set the properties on the specified portlet. |
PortletContext |
unwrapCCP(java.lang.String wrappedCCP)
|
PortletContext |
unwrapPOP(java.lang.String wrappedPOPId)
|
java.lang.String |
wrapCCP(PortletContext ccpCtx)
|
java.lang.String |
wrapPOP(PortletContext popCtx)
|
| Methods inherited from class org.jboss.portal.portlet.PortletInvokerInterceptor |
|---|
getNext, setNext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsumerPortletInvoker()
| Method Detail |
|---|
public PortletContext unwrapCCP(java.lang.String wrappedCCP)
throws InvalidPortletIdException
InvalidPortletIdException
public PortletContext unwrapPOP(java.lang.String wrappedPOPId)
throws InvalidPortletIdException
InvalidPortletIdException
public java.lang.String wrapCCP(PortletContext ccpCtx)
throws InvalidPortletIdException
InvalidPortletIdException
public java.lang.String wrapPOP(PortletContext popCtx)
throws InvalidPortletIdException
InvalidPortletIdExceptionpublic void setPersistenceManager(ConsumerPersistenceManager persistenceManager)
public java.util.Set<Portlet> getPortlets()
throws PortletInvokerException
PortletInvoker
getPortlets in interface PortletInvokergetPortlets in class PortletInvokerInterceptorPortletInvokerException - a portlet invoker exception
public Portlet getPortlet(PortletContext portletContext)
throws java.lang.IllegalArgumentException,
PortletInvokerException
PortletInvoker
getPortlet in interface PortletInvokergetPortlet in class PortletInvokerInterceptorportletContext - the portlet context in the scope of this invoker
PortletInfo for the specified portlet
java.lang.IllegalArgumentException - if the portlet context is null
PortletInvokerException - a portlet invoker exception
public PortletInvocationResponse invoke(PortletInvocation invocation)
throws java.lang.IllegalArgumentException,
PortletInvokerException
PortletInvoker
invoke in interface PortletInvokerinvoke in class PortletInvokerInterceptorinvocation - the portlet invocation
java.lang.IllegalArgumentException - if the invocation is null
PortletInvokerException - a portlet invoker exception
public PortletContext createClone(PortletContext portletContext)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
createClone in interface PortletInvokercreateClone in class PortletInvokerInterceptorportletContext - the portlet context to clone
java.lang.IllegalArgumentException - if the portletId is null
PortletInvokerException - a portlet invoker exception
java.lang.UnsupportedOperationException - if the invoker does not support this operation
public java.util.List<DestroyCloneFailure> destroyClones(java.util.List<PortletContext> portletContexts)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
destroyClones in interface PortletInvokerdestroyClones in class PortletInvokerInterceptorportletContexts - a list of portlet contexts to destroy
DestroyCloneFailure, one per clone that couldn't be
destroyed
java.lang.IllegalArgumentException - if the portletContext is null
PortletInvokerException - a portlet invoker exception
java.lang.UnsupportedOperationException - if the invoker does not support this operation
public PropertyMap getProperties(PortletContext portletContext,
java.util.Set<java.lang.String> keys)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
getProperties in interface PortletInvokergetProperties in class PortletInvokerInterceptorportletContext - the portlet contextkeys - the set of keys to retrieve
java.lang.IllegalArgumentException - if the portletContext or the keys arguments are null
PortletInvokerException - a portlet invoker exception
java.lang.UnsupportedOperationException - if the invoker does not support this operation
public PropertyMap getProperties(PortletContext portletContext)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
getProperties in interface PortletInvokergetProperties in class PortletInvokerInterceptorportletContext - the portlet context
java.lang.IllegalArgumentException - if the portletContext is null
PortletInvokerException - a portlet invoker exception
java.lang.UnsupportedOperationException - if the invoker does not support this operation
public PortletContext setProperties(PortletContext portletContext,
PropertyChange[] changes)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
setProperties in interface PortletInvokersetProperties in class PortletInvokerInterceptorportletContext - the portlet contextchanges - the changes
java.lang.IllegalArgumentException - if the portletContext or the properties is null
PortletInvokerException - a portlet invoker exception
java.lang.UnsupportedOperationException - if the invoker does not support this operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||