public List<Zone> showZones(Collection<String> zoneNames,boolean excludeAliases){
  List<Zone> zones=new ArrayList<Zone>();
  Zone zone=null;
  if (zoneNames != null && !zoneNames.isEmpty()) {
    Map<String,String> aliasDatabase=showDeviceAliasDatabase();
    for (    String zoneName : zoneNames) {
      if (zoneName.startsWith(IVR_ZONENAME_PREFIX)) {
        zone=showIvrZone(zoneName.substring(IVR_ZONENAME_PREFIX.length()));
      }
 else {
        zone=showZone(zoneName,aliasDatabase,excludeAliases);
      }
      zones.add(zone);
    }
  }
  return zones;
}

public List < Zone > showZones ( Collection < String > zoneNames , boolean excludeAliases ) { List < Zone > zones = new ArrayList < Zone > ( ) ; Zone zone = null ; if ( zoneNames != null && ! zoneNames . isEmpty ( ) ) { Map < String , String > aliasDatabase = showDeviceAliasDatabase ( ) ; for ( String zoneName : zoneNames ) { if ( zoneName . startsWith ( IVR_ZONENAME_PREFIX ) ) { zone = showIvrZone ( zoneName . substring ( IVR_ZONENAME_PREFIX . length ( ) ) ) ; } else { zone = showZone ( zoneName , aliasDatabase , excludeAliases ) ; } zones . add ( zone ) ; } } return zones ; }
get list of zones for given zone names
