DiscoveryURLs discoveryURLs, IdentifierBag identifierBag,
CategoryBag categoryBag, TModelBag tModelBag,
FindQualifiers findQualifiers, int maxRows)
throws RegistryException {
FindBusinessDocument doc = FindBusinessDocument.Factory.newInstance();
FindBusiness request = doc.addNewFindBusiness();
if (nameArray != null) {
request.setNameArray(nameArray);
}
if (discoveryURLs != null) {
request.setDiscoveryURLs(discoveryURLs);
}
if (identifierBag != null) {
request.setIdentifierBag(identifierBag);
}
if (categoryBag != null) {
request.setCategoryBag(categoryBag);
}
if (tModelBag != null) {
request.setTModelBag(tModelBag);
} else {
request.setTModelBag(TModelBag.Factory.newInstance());
}
if (findQualifiers != null) {
request.setFindQualifiers(findQualifiers);
}
request.setMaxRows(maxRows);
BusinessList bl;
XmlObject o = execute(doc, this.getInquiryURI()).changeType(
BusinessListDocument.type);
bl = ((BusinessListDocument) o).getBusinessList();