|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService
public class FederatedPortletInvokerService
| Constructor Summary | |
|---|---|
FederatedPortletInvokerService(FederatingPortletInvoker federatingPortletInvoker,
java.lang.String id,
PortletInvoker portletInvoker)
|
|
| Method Summary | |
|---|---|
PortletContext |
createClone(PortletContext compoundPortletContext)
Clone a portlet. |
java.util.List |
destroyClones(java.util.List portletContexts)
Destroy a cloned portlet. |
FederatingPortletInvoker |
getFederatingPortletInvoker()
|
java.lang.String |
getId()
Return the invoker id. |
Portlet |
getPortlet(PortletContext compoundPortletContext)
Get information about a specific portlet. |
PortletInvoker |
getPortletInvoker()
Return the underlying portlet invoker. |
java.util.Set |
getPortlets()
Return the set of portlet exposed. |
PropertyMap |
getProperties(PortletContext compoundPortletContext)
Return all the properties of the specified portlet. |
PropertyMap |
getProperties(PortletContext compoundPortletContext,
java.util.Set keys)
Return a subset of the properties of the specified portlet. |
PortletInvocationResponse |
invoke(PortletInvocation invocation)
Invoke an operation on a specific portlet. |
PortletContext |
setProperties(PortletContext compoundPortletContext,
PropertyChange[] changes)
Set the properties on the specified portlet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FederatedPortletInvokerService(FederatingPortletInvoker federatingPortletInvoker,
java.lang.String id,
PortletInvoker portletInvoker)
| Method Detail |
|---|
public PortletInvoker getPortletInvoker()
FederatedPortletInvoker
getPortletInvoker in interface FederatedPortletInvokerpublic java.lang.String getId()
FederatedPortletInvoker
getId in interface FederatedPortletInvokerpublic FederatingPortletInvoker getFederatingPortletInvoker()
public java.util.Set getPortlets()
throws PortletInvokerException
PortletInvoker
getPortlets in interface PortletInvokerPortletInvokerException
public Portlet getPortlet(PortletContext compoundPortletContext)
throws java.lang.IllegalArgumentException,
PortletInvokerException
PortletInvoker
getPortlet in interface PortletInvokercompoundPortletContext - the portlet context in the scope of this invoker
PortletInfo for the specified portlet
java.lang.IllegalArgumentException - if the portlet context is null
PortletInvokerException
public PortletInvocationResponse invoke(PortletInvocation invocation)
throws InvocationException,
PortletInvokerException
PortletInvoker
invoke in interface PortletInvokerinvocation - the portlet invocation
InvocationException
PortletInvokerException
public PortletContext createClone(PortletContext compoundPortletContext)
throws PortletInvokerException
PortletInvoker
createClone in interface PortletInvokerPortletInvokerException
public java.util.List destroyClones(java.util.List portletContexts)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
destroyClones in interface PortletInvokerportletContexts - a list of portlet contexts to destroy
DestroyCloneFailure, one per clone that couldn't be
destroyed
java.lang.IllegalArgumentException - if the portletContext is null
java.lang.UnsupportedOperationException - if the invoker does not support this operation
PortletInvokerException
public PropertyMap getProperties(PortletContext compoundPortletContext)
throws PortletInvokerException
PortletInvoker
getProperties in interface PortletInvokercompoundPortletContext - the portlet context
PortletInvokerException
public PropertyMap getProperties(PortletContext compoundPortletContext,
java.util.Set keys)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
getProperties in interface PortletInvokercompoundPortletContext - the portlet contextkeys - the set of keys to retrieve
java.lang.IllegalArgumentException - if the portletContext or the keys arguments are null
java.lang.UnsupportedOperationException - if the invoker does not support this operation
PortletInvokerException
public PortletContext setProperties(PortletContext compoundPortletContext,
PropertyChange[] changes)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
setProperties in interface PortletInvokercompoundPortletContext - the portlet contextchanges - the changes
java.lang.IllegalArgumentException - if the portletContext or the properties is null
java.lang.UnsupportedOperationException - if the invoker does not support this operation
PortletInvokerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||