robe-hibernate/src/main/java/io/robe/hibernate/dao/BaseDao.java
public <E> List<E> findAll(SearchModel search, Class<E> transformClass) {
        Result<E> resultPair = queryAll(search, transformClass).pairList();
        search.setTotalCount(resultPair.getTotalCount());
        ResponseHeadersUtil.addTotalCount(search);
        return resultPair.getList();
    }
public <E> List<E> findAll(SearchModel search, Class<E> transformClass) {
        Result<E> resultPair = queryAll(search, transformClass).pairList();
        search.setTotalCount(resultPair.getTotalCount());
        ResponseHeadersUtil.addTotalCount(search);
        return resultPair.getList();
    }
Returns modified list of the entities regarding to the search model.
{@inheritDoc}

@return List of entities.