|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 FederatedPortletInvoker
public FederatingPortletInvoker getFederatingPortletInvoker()
public java.util.Set getPortlets() throws PortletInvokerException
PortletInvoker
getPortlets
in interface PortletInvoker
PortletInvokerException
public Portlet getPortlet(PortletContext compoundPortletContext) throws java.lang.IllegalArgumentException, PortletInvokerException
PortletInvoker
getPortlet
in interface PortletInvoker
compoundPortletContext
- 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 PortletInvoker
invocation
- the portlet invocation
InvocationException
PortletInvokerException
public PortletContext createClone(PortletContext compoundPortletContext) throws PortletInvokerException
PortletInvoker
createClone
in interface PortletInvoker
PortletInvokerException
public java.util.List destroyClones(java.util.List portletIds) throws java.lang.IllegalArgumentException, PortletInvokerException, java.lang.UnsupportedOperationException
PortletInvoker
destroyClones
in interface PortletInvoker
portletIds
- 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
PortletInvokerException
public PropertyMap getProperties(PortletContext compoundPortletContext) throws PortletInvokerException
PortletInvoker
getProperties
in interface PortletInvoker
compoundPortletContext
- 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 PortletInvoker
compoundPortletContext
- 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
PortletInvokerException
public PortletContext setProperties(PortletContext compoundPortletContext, PropertyChange[] changes) throws java.lang.IllegalArgumentException, PortletInvokerException, java.lang.UnsupportedOperationException
PortletInvoker
setProperties
in interface PortletInvoker
compoundPortletContext
- 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
PortletInvokerException
private 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 |