Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.core.admin.ui.portlet
Class PortletDefinitionInvoker

    java.lang.Object
      org.jboss.portal.core.admin.ui.portlet.PortletDefinitionInvoker

All Implemented Interfaces:
  org.jboss.portal.portlet.PortletInvoker

    public class PortletDefinitionInvoker

extends java.lang.Object
implements org.jboss.portal.portlet.PortletInvoker

Adapt the instance container as a portlet invoker. Will be removed later when migrating the instance container to the portlet package will be done in a suitable form.

Version:
  $Revision: 8785 $
Author:
  Julien Viet

Constructor Summary
`PortletDefinitionInvoker(InstanceContainer instanceContainer)`

Method Summary
`org.jboss.portal.portlet.PortletContext` | `createClone(org.jboss.portal.portlet.PortletContext portletContext)`
`java.util.List` | `destroyClones(java.util.List portletContexts)`
`org.jboss.portal.portlet.Portlet` | `getPortlet(org.jboss.portal.portlet.PortletContext portletContext)`
`java.util.Set` | `getPortlets()`
`org.jboss.portal.portlet.state.PropertyMap` | `getProperties(org.jboss.portal.portlet.PortletContext portletContext)`
`org.jboss.portal.portlet.state.PropertyMap` | `getProperties(org.jboss.portal.portlet.PortletContext portletContext, java.util.Set keys)`
`org.jboss.portal.portlet.invocation.response.PortletInvocationResponse` | `invoke(org.jboss.portal.portlet.invocation.PortletInvocation invocation)`
`org.jboss.portal.portlet.PortletContext` | `setProperties(org.jboss.portal.portlet.PortletContext portletContext, org.jboss.portal.portlet.state.PropertyChange[] changes)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PortletDefinitionInvoker

    public PortletDefinitionInvoker(InstanceContainer instanceContainer)

Method Detail

### getPortlets

    public java.util.Set getPortlets()
                              throws org.jboss.portal.portlet.PortletInvokerException

  Specified by:
    `getPortlets` in interface `org.jboss.portal.portlet.PortletInvoker`
  Throws:
    `org.jboss.portal.portlet.PortletInvokerException`

### getPortlet

    public org.jboss.portal.portlet.Portlet getPortlet(org.jboss.portal.portlet.PortletContext portletContext)
                                                throws java.lang.IllegalArgumentException,
                                                       org.jboss.portal.portlet.PortletInvokerException

  Specified by:
    `getPortlet` in interface `org.jboss.portal.portlet.PortletInvoker`
  Throws:
    `java.lang.IllegalArgumentException`
    `org.jboss.portal.portlet.PortletInvokerException`

### invoke

    public org.jboss.portal.portlet.invocation.response.PortletInvocationResponse invoke(org.jboss.portal.portlet.invocation.PortletInvocation invocation)
                                                                                  throws java.lang.IllegalArgumentException,
                                                                                         org.jboss.portal.portlet.PortletInvokerException

  Specified by:
    `invoke` in interface `org.jboss.portal.portlet.PortletInvoker`
  Throws:
    `java.lang.IllegalArgumentException`
    `org.jboss.portal.portlet.PortletInvokerException`

### createClone

    public org.jboss.portal.portlet.PortletContext createClone(org.jboss.portal.portlet.PortletContext portletContext)
                                                        throws java.lang.IllegalArgumentException,
                                                               org.jboss.portal.portlet.PortletInvokerException,
                                                               java.lang.UnsupportedOperationException

  Specified by:
    `createClone` in interface `org.jboss.portal.portlet.PortletInvoker`
  Throws:
    `java.lang.IllegalArgumentException`
    `org.jboss.portal.portlet.PortletInvokerException`
    `java.lang.UnsupportedOperationException`

### destroyClones

    public java.util.List destroyClones(java.util.List portletContexts)
                                 throws java.lang.IllegalArgumentException,
                                        org.jboss.portal.portlet.PortletInvokerException,
                                        java.lang.UnsupportedOperationException

  Specified by:
    `destroyClones` in interface `org.jboss.portal.portlet.PortletInvoker`
  Throws:
    `java.lang.IllegalArgumentException`
    `org.jboss.portal.portlet.PortletInvokerException`
    `java.lang.UnsupportedOperationException`

### getProperties

    public org.jboss.portal.portlet.state.PropertyMap getProperties(org.jboss.portal.portlet.PortletContext portletContext,
                                                                    java.util.Set keys)
                                                             throws java.lang.IllegalArgumentException,
                                                                    org.jboss.portal.portlet.PortletInvokerException,
                                                                    java.lang.UnsupportedOperationException

  Specified by:
    `getProperties` in interface `org.jboss.portal.portlet.PortletInvoker`
  Throws:
    `java.lang.IllegalArgumentException`
    `org.jboss.portal.portlet.PortletInvokerException`
    `java.lang.UnsupportedOperationException`

### getProperties

    public org.jboss.portal.portlet.state.PropertyMap getProperties(org.jboss.portal.portlet.PortletContext portletContext)
                                                             throws java.lang.IllegalArgumentException,
                                                                    org.jboss.portal.portlet.PortletInvokerException,
                                                                    java.lang.UnsupportedOperationException

  Specified by:
    `getProperties` in interface `org.jboss.portal.portlet.PortletInvoker`
  Throws:
    `java.lang.IllegalArgumentException`
    `org.jboss.portal.portlet.PortletInvokerException`
    `java.lang.UnsupportedOperationException`

### setProperties

    public org.jboss.portal.portlet.PortletContext setProperties(org.jboss.portal.portlet.PortletContext portletContext,
                                                                 org.jboss.portal.portlet.state.PropertyChange[] changes)
                                                          throws java.lang.IllegalArgumentException,
                                                                 org.jboss.portal.portlet.PortletInvokerException,
                                                                 java.lang.UnsupportedOperationException

  Specified by:
    `setProperties` in interface `org.jboss.portal.portlet.PortletInvoker`
  Throws:
    `java.lang.IllegalArgumentException`
    `org.jboss.portal.portlet.PortletInvokerException`
    `java.lang.UnsupportedOperationException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD