IRegistry registry = (IRegistry) registryService.getRegistry();
try
{
FindQualifiers juddiFindQualifiers = mapFindQualifiers(findQualifiers);
Name[] nameArray = mapNamePatterns(namePatterns);
BusinessList result = registry.findBusiness(nameArray,
null,
ScoutJaxrUddiHelper.getIdentifierBagFromExternalIdentifiers(externalIdentifiers),
ScoutJaxrUddiHelper.getCategoryBagFromClassifications(classifications),
null,
juddiFindQualifiers,
registryService.getMaxRows());
BusinessInfo[] bizInfoArr =null;
BusinessInfos bizInfos = result.getBusinessInfos();
LinkedHashSet<Organization> orgs = new LinkedHashSet<Organization>();
if(bizInfos != null)
{
List<BusinessInfo> bizInfoList = bizInfos.getBusinessInfo();
for (BusinessInfo businessInfo : bizInfoList) {