|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.federation.impl.FederatedPortletInvokerService
| Nested Class Summary | |
private class |
FederatedPortletInvokerService.FederatedInstanceContext
|
| Field Summary | |
private FederatingPortletInvoker |
federatingPortletInvoker
. |
private java.lang.String |
id
. |
private PortletInvoker |
portletInvoker
. |
| Constructor Summary | |
FederatedPortletInvokerService(FederatingPortletInvoker federatingPortletInvoker,
PortletInvokerRegistration registration)
|
|
| Method Summary | |
PortletContext |
createClone(PortletContext compoundPortletContext)
Clone a portlet. |
private PortletContext |
dereference(PortletContext compoundPortletContext)
|
java.util.List |
destroyClones(java.util.List portletIds)
Destroy a cloned portlet. |
FederatingPortletInvoker |
getFederatingPortletInvoker()
|
java.lang.String |
getId()
Return the invoker id. |
Portlet |
getPortlet(PortletContext compoundPortletContext)
Get information about a specific portlet. |
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. |
private PortletContext |
reference(PortletContext portletContext)
|
private java.lang.String |
reference(java.lang.String portletId)
|
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 |
| Field Detail |
private java.lang.String id
private PortletInvoker portletInvoker
private FederatingPortletInvoker federatingPortletInvoker
| Constructor Detail |
public FederatedPortletInvokerService(FederatingPortletInvoker federatingPortletInvoker, PortletInvokerRegistration registration)
| Method Detail |
public java.lang.String getId()
FederatedPortletInvoker
getId in interface FederatedPortletInvokerpublic FederatingPortletInvoker getFederatingPortletInvoker()
public java.util.Set getPortlets()
throws PortletInvokerException
PortletInvoker
getPortlets in interface PortletInvokerPortletInvokerExceptionpublic 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
PortletInvokerExceptionpublic PortletInvocationResponse invoke(PortletInvocation invocation) throws InvocationException, PortletInvokerException
PortletInvoker
invoke in interface PortletInvokerinvocation - the portlet invocation
InvocationException
PortletInvokerExceptionpublic PortletContext createClone(PortletContext compoundPortletContext) throws PortletInvokerException
PortletInvoker
createClone in interface PortletInvokerPortletInvokerException
public java.util.List destroyClones(java.util.List portletIds)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
destroyClones in interface PortletInvokerportletIds - a list of portlet contexts to destroy
java.lang.IllegalArgumentException - if the portletId is null
java.lang.UnsupportedOperationException - if the invoker does not support this operation
PortletInvokerExceptionpublic PropertyMap getProperties(PortletContext compoundPortletContext) throws PortletInvokerException
PortletInvoker
getProperties in interface PortletInvokercompoundPortletContext - the portlet context
PortletInvokerExceptionpublic 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.UnsupportedOperationException - if the invoker does not support this operation
java.lang.IllegalArgumentException - if the portletId or the keys arguments are null
PortletInvokerExceptionpublic 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.UnsupportedOperationException - if the invoker does not support this operation
java.lang.IllegalArgumentException - if the portletId or the properties is null
PortletInvokerExceptionprivate PortletContext dereference(PortletContext compoundPortletContext)
private PortletContext reference(PortletContext portletContext)
private java.lang.String reference(java.lang.String portletId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||