|
From: Andrei S. <as...@so...> - 2003-12-08 21:25:17
|
Hi Arvind, please take a look at package org.digijava.module.admin.util; getChildSites() method. I think this will return only first level children. In case if you want to retrieve all children (for instance grand children) the class org.digijava.module.gmdpbenchmark.worker.IndicatorGroupWorker with methods getChildren() might be of particular interest for you since, it uses the same hierarchical logic like in Site class. Hope it helps, Andrei. ddrlsn> Message: 2 ddrlsn> Date: Mon, 8 Dec 2003 14:22:48 +0530 ddrlsn> From: "Arvind Kumar S" <arv...@mp...> ddrlsn> To: <dig...@li...> ddrlsn> Subject: [Digi-developer] Is there an API to get a List of child Sites for a given Site ddrlsn> ddrlsn> This is for the kernel team. In dgtopics we need to display a List of = ddrlsn> Sites to which items can be contributed to. All these Sites would be = ddrlsn> children of the main dgTopics site. I can get the root of any given = ddrlsn> site. But I dont find an API to get all children for a given site. ddrlsn> ddrlsn> Regards, ddrlsn> Arvind Kumar |