[jboss-cvs] jboss-portal/core/src/main/org/jboss/portal/core/model/instance ...

Julien Viet julien at jboss.com
Wed Aug 23 08:55:00 EDT 2006


  User: julien  
  Date: 06/08/23 08:55:00

  Modified:    core/src/main/org/jboss/portal/core/model/instance 
                        Instance.java
  Log:
  updated implementation of PortletInvoker.setProperties(...) to use a list of property changes instead of a PropertyMap in order to match WSRP semantics
  
  Revision  Changes    Path
  1.18      +4 -3      jboss-portal/core/src/main/org/jboss/portal/core/model/instance/Instance.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Instance.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portal/core/model/instance/Instance.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- Instance.java	22 Aug 2006 14:51:47 -0000	1.17
  +++ Instance.java	23 Aug 2006 12:55:00 -0000	1.18
  @@ -22,6 +22,7 @@
   package org.jboss.portal.core.model.instance;
   
   import org.jboss.portal.portlet.state.PropertyMap;
  +import org.jboss.portal.portlet.state.PropertyChange;
   import org.jboss.portal.portlet.Portlet;
   import org.jboss.portal.portlet.PortletInvokerException;
   import org.jboss.portal.portlet.invocation.PortletInvocation;
  @@ -32,7 +33,7 @@
    * A shared portlet instance.
    *
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.17 $
  + * @version $Revision: 1.18 $
    */
   public interface Instance
   {
  @@ -95,7 +96,7 @@
      /**
       * Update the prefs of this instance.
       *
  -    * @param prefs the new prefs
  +    * @param changes the changes
       */
  -   void setProperties(PropertyMap prefs) throws PortletInvokerException;
  +   void setProperties(PropertyChange[] changes) throws PortletInvokerException;
   }
  
  
  



More information about the jboss-cvs-commits mailing list