src/main/java/de/otto/teamdojo/service/DimensionQueryService.java
@Transactional(readOnly = true)
    public List<DimensionDTO> findByCriteria(DimensionCriteria criteria) {
        log.debug("find by criteria : {}", criteria);
        final Specification<Dimension> specification = createSpecification(criteria);
        return dimensionMapper.toDto(dimensionRepository.findAll(specification));
    }
/**
     * Return a {@link List} of {@link DimensionDTO} which matches the criteria from the database
     *
     * @param criteria The object which holds all the filters, which the entities should match.
     * @return the matching entities.
     */
Return a  List of  DimensionDTO which matches the criteria from the database
@param criteria The object which holds all the filters, which the entities should match.
@return the matching entities.
Return a List of DimensionDTO which matches the criteria from the database @param criteria The object which holds all the filters which the entities should match . @return the matching entities .
@Transactional(readOnly = true)
    public List<DimensionDTO> findByCriteria(DimensionCriteria criteria) {
        log.debug("find by criteria : {}", criteria);
        final Specification<Dimension> specification = createSpecification(criteria);
        return dimensionMapper.toDto(dimensionRepository.findAll(specification));
    }
@ Transactional ( readOnly = true ) public List < DimensionDTO > findByCriteria ( DimensionCriteria criteria ) { log . debug ( "find by criteria : {}" , criteria ) ; final Specification < Dimension > specification = createSpecification ( criteria ) ; return dimensionMapper . toDto ( dimensionRepository . findAll ( specification ) ) ; }
Return a {@link List} of {@link DimensionDTO} which matches the criteria from the database
 @param criteria The object which holds all the filters, which the entities should match.
Return a { @link List } of { @link DimensionDTO } which matches the criteria from the database @param criteria The object which holds all the filters which the entities should match .