/** * @param name * @return * @generated */ @Override public List<ClientDTO> findByName(String name) { return ClientConverter.listEntity2DTO(persistence.findByName(name)); }
/** * @param page * @param maxRecords * @return * @generated */ @Override public List<ClientDTO> getClients(Integer page, Integer maxRecords) { return ClientConverter.listEntity2DTO(persistence.findAll(page, maxRecords)); }