code: public List<Reference> getAllReferences(Specification specification)
      {
          final Criteria crit = sessionService.getSession().createCriteria(Reference.class);
          crit.createAlias("specification", "spec");
          crit.add(Restrictions.eq("spec.name", specification.getName()));
          crit.createAlias("spec.repository", "repo");
          crit.add(Restrictions.eq("repo.uid", specification.getRepository().getUid()));
  		crit.createAlias("requirement", "req");
  		crit.addOrder(Order.asc("req.name"));
  		crit.createAlias("systemUnderTest", "sut");
  		crit.addOrder(Order.asc("sut.name"));
  
  		@SuppressWarnings("unchecked")
          List<Reference> references = crit.list();
  		HibernateLazyInitializer.initCollection(references);
          return references;
      }
docs: <p>getAllReferences.</p>
  
  @param specification a {@link com.greenpepper.server.domain.Specification} object.
  @return a {@link java.util.List} object.