[jboss-cvs] jboss-portal/portlet/src/main/org/jboss/portal/portlet ...

Julien Viet julien at jboss.com
Tue Aug 22 10:51:48 EDT 2006


  User: julien  
  Date: 06/08/22 10:51:48

  Modified:    portlet/src/main/org/jboss/portal/portlet 
                        PortletInvoker.java
  Log:
  added getProperties(String portletId, Set keys) on PortletInvoker to match WSRP semantics
  
  Revision  Changes    Path
  1.18      +13 -2     jboss-portal/portlet/src/main/org/jboss/portal/portlet/PortletInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PortletInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/portlet/PortletInvoker.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- PortletInvoker.java	22 Aug 2006 14:08:53 -0000	1.17
  +++ PortletInvoker.java	22 Aug 2006 14:51:48 -0000	1.18
  @@ -31,7 +31,7 @@
    * operations are possible on a particular portlet among the set.
    *
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.17 $
  + * @version $Revision: 1.18 $
    */
   public interface PortletInvoker
   {
  @@ -78,7 +78,18 @@
      void destroyClone(String portletId) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException;
   
      /**
  -    * Return the properties of the specified portlet.
  +    * Return a subset of the properties of the specified portlet.
  +    *
  +    * @param portletId the portlet id
  +    * @param keys the set of keys to retrieve
  +    * @return the properties
  +    * @throws IllegalArgumentException if the portletId or the keys arguments are null
  +    * @throws UnsupportedOperationException if the invoker does not support this operation
  +    */
  +   PropertyMap getProperties(String portletId, Set keys) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException;
  +
  +   /**
  +    * Return all the properties of the specified portlet.
       *
       * @param portletId the portlet id
       * @return the properties
  
  
  



More information about the jboss-cvs-commits mailing list