protected List handleListGet() throws Exception {
String ws = getAttribute( "workspace" );
String wms = getAttribute( "wmsstore" );
if ( wms != null ) {
WMSStoreInfo dataStore = catalog.getStoreByName( wms, WMSStoreInfo.class );
return catalog.getResourcesByStore(dataStore, WMSLayerInfo.class);
}
NamespaceInfo ns = catalog.getNamespaceByPrefix( ws );
return catalog.getResourcesByNamespace( ns , WMSLayerInfo.class );