[jboss-cvs] jboss-portal/federation/src/main/org/jboss/portal/federation/impl ...

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


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

  Modified:    federation/src/main/org/jboss/portal/federation/impl  
                        FederatedPortletInvokerService.java
                        FederatingPortletInvokerService.java
  Log:
  added getProperties(String portletId, Set keys) on PortletInvoker to match WSRP semantics
  
  Revision  Changes    Path
  1.6       +7 -1      jboss-portal/federation/src/main/org/jboss/portal/federation/impl/FederatedPortletInvokerService.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: FederatedPortletInvokerService.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/federation/src/main/org/jboss/portal/federation/impl/FederatedPortletInvokerService.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- FederatedPortletInvokerService.java	22 Aug 2006 14:08:53 -0000	1.5
  +++ FederatedPortletInvokerService.java	22 Aug 2006 14:51:48 -0000	1.6
  @@ -39,7 +39,7 @@
   
   /**
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    * @since 2.4
    */
   public class FederatedPortletInvokerService implements FederatedPortletInvoker
  @@ -163,6 +163,12 @@
         return portletInvoker.getProperties(portletId);
      }
   
  +   public PropertyMap getProperties(String compoundPortletId, Set keys) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
  +   {
  +      String portletId = getPortletIdFrom(compoundPortletId);
  +      return portletInvoker.getProperties(portletId, keys);
  +   }
  +
      public void setProperties(String compoundPortletId, PropertyMap properties) throws PortletInvokerException
      {
         String portletId = getPortletIdFrom(compoundPortletId);
  
  
  
  1.4       +7 -1      jboss-portal/federation/src/main/org/jboss/portal/federation/impl/FederatingPortletInvokerService.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: FederatingPortletInvokerService.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/federation/src/main/org/jboss/portal/federation/impl/FederatingPortletInvokerService.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- FederatingPortletInvokerService.java	22 Aug 2006 14:08:53 -0000	1.3
  +++ FederatingPortletInvokerService.java	22 Aug 2006 14:51:48 -0000	1.4
  @@ -42,7 +42,7 @@
   /**
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
    * @author <a href="mailto:chris.laprun at jboss.com">Chris Laprun</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    * @since 2.4
    */
   public class FederatingPortletInvokerService extends AbstractJBossService implements FederatingPortletInvoker
  @@ -167,6 +167,12 @@
         federated.destroyClone(compoundPortletId);
      }
   
  +   public PropertyMap getProperties(String compoundPortletId, Set keys) throws PortletInvokerException
  +   {
  +      FederatedPortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletId);
  +      return federated.getProperties(compoundPortletId, keys);
  +   }
  +
      public PropertyMap getProperties(String compoundPortletId) throws PortletInvokerException
      {
         FederatedPortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletId);
  
  
  



More information about the jboss-cvs-commits mailing list