portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raph...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services/psmlmanager CastorPsmlManagerService.java
Date Mon, 23 Jul 2001 21:21:01 GMT
raphael     01/07/23 14:21:01

  Modified:    src/java/org/apache/jetspeed/services/psmlmanager
                        CastorPsmlManagerService.java
  Log:
  implement the getDocument(List) method
  
  Revision  Changes    Path
  1.6       +10 -3     jakarta-jetspeed/src/java/org/apache/jetspeed/services/psmlmanager/CastorPsmlManagerService.java
  
  Index: CastorPsmlManagerService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/psmlmanager/CastorPsmlManagerService.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CastorPsmlManagerService.java	2001/07/17 16:44:49	1.5
  +++ CastorPsmlManagerService.java	2001/07/23 21:21:01	1.6
  @@ -103,7 +103,7 @@
    *
    * @author <a href="mailto:raphael@apache.org">RaphaŽl Luta</a>
    * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  - * @version $Id: CastorPsmlManagerService.java,v 1.5 2001/07/17 16:44:49 taylor Exp $
  + * @version $Id: CastorPsmlManagerService.java,v 1.6 2001/07/23 21:21:01 raphael Exp $
    */
   public class CastorPsmlManagerService extends TurbineBaseService
       implements PsmlManagerService
  @@ -640,8 +640,15 @@
        */
       public PSMLDocument getDocument( List locators )
       {
  -        // IMPLEMENT ME:
  -        return null;
  +        PSMLDocument doc=null;
  +        
  +        Iterator i = locators.iterator();
  +        while ((doc==null)&&(i.hasNext()))
  +        {
  +            doc=getDocument((ProfileLocator)i.next());
  +        }
  +        
  +        return doc;
       }
   
       /** Query for a collection of profiles given a profile locator criteria.
  
  
  

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


Mime
View raw message