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:[EMAIL PROTECTED]">Rapha�l Luta</a>
* @author <a href="mailto:[EMAIL PROTECTED]">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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]