280281282283284285286287288289290
} CloseableIterator<LayerGroupInfo> it = cat.list(LayerGroupInfo.class, equal("workspace.name", wsName)); try { while (it.hasNext()) { LayerGroupInfo map = it.next(); if( checkMap( map ) ){ JSONObj obj = arr.addObject(); map(obj, map, wsName); } }