|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortletInvoker
| 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. |
PortletContext |
setProperties(PortletContext portletContext,
PropertyChange[] changes)
Set the properties on the specified portlet. |
| Method Detail |
|---|
java.util.Set<Portlet> getPortlets()
throws PortletInvokerException
PortletInvokerException - a portlet invoker exception
Portlet getPortlet(PortletContext portletContext)
throws java.lang.IllegalArgumentException,
PortletInvokerException
portletContext - 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
PortletInvocationResponse invoke(PortletInvocation invocation)
throws java.lang.IllegalArgumentException,
PortletInvokerException
invocation - the portlet invocation
java.lang.IllegalArgumentException - if the invocation is null
PortletInvokerException - a portlet invoker exception
PortletContext createClone(PortletContext portletContext)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
portletContext - the portlet context to clone
java.lang.IllegalArgumentException - if the portletId is null
java.lang.UnsupportedOperationException - if the invoker does not support this operation
PortletInvokerException - a portlet invoker exception
java.util.List<DestroyCloneFailure> destroyClones(java.util.List<PortletContext> portletContexts)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
portletContexts - 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 - a portlet invoker exception
PropertyMap getProperties(PortletContext portletContext,
java.util.Set<java.lang.String> keys)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
portletContext - 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 - a portlet invoker exception
PropertyMap getProperties(PortletContext portletContext)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
portletContext - the portlet context
java.lang.IllegalArgumentException - if the portletContext is null
java.lang.UnsupportedOperationException - if the invoker does not support this operation
PortletInvokerException - a portlet invoker exception
PortletContext setProperties(PortletContext portletContext,
PropertyChange[] changes)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
portletContext - 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 - a portlet invoker exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||