Collection dls = domain.getAllDistributionLists();
Collection dls = mProv.getAllDistributionLists(domain);
    private void doGetAllDistributionLists(String[] args) throws ServiceException {        boolean verbose = false;        String d = null;        if (args.length == 2) {            if (args[1].equals("-v"))                 verbose = true;            else                 d = args[1];        } else if (args.length == 3) {            if (args[1].equals("-v"))                 verbose = true;            else  {                usage();                return;            }            d = args[2];                    } else if (args.length != 1) {            usage();            return;        }        if (d == null) {            List domains = mProv.getAllDomains();            for (Iterator dit=domains.iterator(); dit.hasNext(); ) {                Domain domain = (Domain) dit.next();                Collection dls = domain.getAllDistributionLists();                for (Iterator it = dls.iterator(); it.hasNext();) {                    DistributionList dl = (DistributionList)it.next();                    if (verbose)                        dumpDistributionList(dl);                    else                        System.out.println(dl.getName());                }            }        } else {            Domain domain = lookupDomain(d);            Collection dls = domain.getAllDistributionLists();            for (Iterator it = dls.iterator(); it.hasNext();) {                DistributionList dl = (DistributionList) it.next();                if (verbose)                    dumpDistributionList(dl);                else                    System.out.println(dl.getName());            }        }    }