List<WMSLayerCapabilities> lstCapsLayerFolder
) throws Exception
{
for (int i=0; i<lstCapsLayerFolder.size(); i++)
{
WMSLayerCapabilities capLayerFolderCur = lstCapsLayerFolder.get(i);
String strIdParentFolderCur = lstIdFolders.get(i);
List<WMSLayerCapabilities> lstCapLayersCur = capLayerFolderCur.getLayers();
for (WMSLayerCapabilities capLayerCur: lstCapLayersCur)
{
boolean blnGotChildLeaf = false;
for (int j=0; j<lstCapLayersLeaf.size(); j++)
{
WMSLayerCapabilities capLayerLeafCur = lstCapLayersLeaf.get(j);
if (capLayerLeafCur != capLayerCur)
continue;
String strIdLayerLeafCur = lstIdLeaves.get(j);
GfrMdlDatIdObjTloOgcWms.getInstance().setParentFolderIdLayerLeaf(strIdLayerLeafCur, strIdParentFolderCur);
blnGotChildLeaf = true;
break;
}
if (blnGotChildLeaf)
continue;
for (int j=0; j<lstCapsLayerFolder.size(); j++)
{
WMSLayerCapabilities capLayerFolderChildCur = lstCapsLayerFolder.get(j);
if (capLayerFolderChildCur == capLayerFolderCur)
continue;
if (capLayerFolderChildCur != capLayerCur)