code: @SuppressWarnings(UNCHECKED)
      protected List<E> list(Criteria criteria)
      {
          return new ArrayList<E>(criteria.list());
      }
docs: Returns a list of entities based on the provided criteria.
  
  @param criteria the criteria
  @return a list of entities based on the provided criteria