You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2003/07/30 20:33:42 UTC

cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator PortletWindowFactory.java

weaver      2003/07/30 11:33:42

  Modified:    portal/src/java/org/apache/jetspeed/aggregator
                        PortletWindowFactory.java
  Log:
  Refactoring:
  Renaming all concrete classes that implement a specific interface to have the "Impl" affix.
  This should be the standard naming convention to follow from here on out.
  
  Revision  Changes    Path
  1.2       +3 -3      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PortletWindowFactory.java
  
  Index: PortletWindowFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PortletWindowFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PortletWindowFactory.java	28 Jul 2003 23:47:36 -0000	1.1
  +++ PortletWindowFactory.java	30 Jul 2003 18:33:42 -0000	1.2
  @@ -53,7 +53,7 @@
    */
   package org.apache.jetspeed.aggregator;
   
  -import org.apache.jetspeed.om.common.entity.BasePortletEntity;
  +import org.apache.jetspeed.om.common.entity.PortletEntityImpl;
   import org.apache.jetspeed.om.common.window.PortletWindowImpl;
   import org.apache.pluto.om.entity.PortletEntity;
   import org.apache.pluto.om.portlet.PortletDefinition;
  @@ -74,7 +74,7 @@
       {
           // TODO: 1. use a factory entity from config file to create PortletEntities
           // TODO: 2. cache portlet windows and entities, don't create everytime
  -        PortletEntity entity = new BasePortletEntity(portletDefinition, portletName); 
  +        PortletEntity entity = new PortletEntityImpl(portletDefinition, portletName); 
           PortletWindow portletWindow = new PortletWindowImpl(entity.getId());                
           ((PortletWindowCtrl)portletWindow).setPortletEntity(entity);
           PortletWindowList windowList = entity.getPortletWindowList();        
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org