'List domains for the provided list of ids.
:param domain_ids: list of ids
:returns: a list of domain_refs.
This method is used internally by the assignment manager to bulk read
a set of domains given their ids.'

def list_domains_from_ids(self, domain_ids):

    projects = self.list_projects_from_ids(domain_ids)
    domains = [self._get_domain_from_project(project) for project in projects]
    return domains
