{
FindBusiness request = (FindBusiness) regObject;
String generic = request.getGeneric();
Vector nameVector = request.getNameVector();
DiscoveryURLs discoveryURLs = request.getDiscoveryURLs();
IdentifierBag identifierBag = request.getIdentifierBag();
CategoryBag categoryBag = request.getCategoryBag();
TModelBag tModelBag = request.getTModelBag();
FindQualifiers qualifiers = request.getFindQualifiers();
int maxRows = request.getMaxRows();
// make sure we need to continue with this request. If
// no arguments were passed in then we'll simply return
// an empty BusinessList (aka "a zero match result set").
if (((nameVector == null) || (nameVector.size() == 0))
&& ((discoveryURLs == null) || (discoveryURLs.size() == 0))
&& ((identifierBag == null) || (identifierBag.size() == 0))
&& ((categoryBag == null) || (categoryBag.size() == 0))
&& ((tModelBag == null) || (tModelBag.size() == 0)))
{
BusinessList list = new BusinessList();
list.setGeneric(generic);