|
||||||||||
| 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<DestroyCloneFailure> |
destroyClones(java.util.List<PortletContext> 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<Portlet> |
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<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. |
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<Portlet> getPortlets()
throws PortletInvokerException
PortletInvoker
getPortlets in interface PortletInvokerPortletInvokerException - a portlet invoker exception
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 - a portlet invoker exception
public PortletInvocationResponse invoke(PortletInvocation invocation)
throws org.jboss.portal.common.invocation.InvocationException,
PortletInvokerException
PortletInvoker
invoke in interface PortletInvokerinvocation - the portlet invocation
PortletInvokerException - a portlet invoker exception
org.jboss.portal.common.invocation.InvocationException
public PortletContext createClone(PortletContext compoundPortletContext)
throws PortletInvokerException
PortletInvoker
createClone in interface PortletInvokercompoundPortletContext - the portlet context to clone
PortletInvokerException - a portlet invoker exception
public java.util.List<DestroyCloneFailure> destroyClones(java.util.List<PortletContext> 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
PortletInvokerException - a portlet invoker exception
java.lang.UnsupportedOperationException - if the invoker does not support this operation
public PropertyMap getProperties(PortletContext compoundPortletContext)
throws PortletInvokerException
PortletInvoker
getProperties in interface PortletInvokercompoundPortletContext - the portlet context
PortletInvokerException - a portlet invoker exception
public PropertyMap getProperties(PortletContext compoundPortletContext,
java.util.Set<java.lang.String> 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
PortletInvokerException - a portlet invoker exception
java.lang.UnsupportedOperationException - if the invoker does not support this operation
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
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 | |||||||||