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

Julien Viet julien at jboss.com
Tue Aug 22 10:08:52 EDT 2006


  User: julien  
  Date: 06/08/22 10:08:52

  Modified:    core/src/main/org/jboss/portal/core/model/instance 
                        Instance.java
  Log:
  - refactored the ValueMap to PropertyMap and moved it in org.jboss.portal.portlet.state package
  - introduced TypedMap that is super type of ParameterMap and is reused for the PropertyMap
  
  Revision  Changes    Path
  1.16      +4 -4      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.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- Instance.java	26 May 2006 14:12:53 -0000	1.15
  +++ Instance.java	22 Aug 2006 14:08:52 -0000	1.16
  @@ -21,7 +21,7 @@
   */
   package org.jboss.portal.core.model.instance;
   
  -import org.jboss.portal.common.value.ValueMap;
  +import org.jboss.portal.portlet.state.PropertyMap;
   import org.jboss.portal.portlet.Portlet;
   import org.jboss.portal.portlet.PortletInvokerException;
   import org.jboss.portal.portlet.invocation.PortletInvocation;
  @@ -30,7 +30,7 @@
    * A shared portlet instance.
    *
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.15 $
  + * @version $Revision: 1.16 $
    */
   public interface Instance
   {
  @@ -81,12 +81,12 @@
       *
       * @return the prefs
       */
  -   ValueMap getPreferences() throws PortletInvokerException;
  +   PropertyMap getPreferences() throws PortletInvokerException;
   
      /**
       * Update the prefs of this instance.
       *
       * @param prefs the new prefs
       */
  -   void setPreferences(ValueMap prefs) throws PortletInvokerException;
  +   void setPreferences(PropertyMap prefs) throws PortletInvokerException;
   }
  
  
  



More information about the jboss-cvs-commits mailing list