public DomainContent loadStaticContent(Space space){
  Universe univ=space.getUniverse();
  Domain domain=space.getDomain();
  List<Dimension> dimensions=dimensionDAO.findByDomain(univ.getContext(),domain.getId());
  List<Metric> metrics=metricDAO.findByDomain(univ.getContext(),domain.getId());
  DomainContent content=new DomainContent(domain,dimensions,metrics);
  return content;
}

public DomainContent loadStaticContent ( Space space ) { Universe univ = space . getUniverse ( ) ; Domain domain = space . getDomain ( ) ; List < Dimension > dimensions = dimensionDAO . findByDomain ( univ . getContext ( ) , domain . getId ( ) ) ; List < Metric > metrics = metricDAO . findByDomain ( univ . getContext ( ) , domain . getId ( ) ) ; DomainContent content = new DomainContent ( domain , dimensions , metrics ) ; return content ; }
populate this domain content , for both dimensions and metrics . the space universe is expected to be associated to the root context - this is not context specific
