class MovementService {

    public List<Movement> getMovements(final MovementSearchRequest movementSearchRequest,
                                       final RequestInfo requestInfo) {
        List<Movement> movements = movementRepository.findForCriteria(movementSearchRequest, requestInfo);
        for (final Movement movement : movements) {
            final List<Document> documents = documentsRepository.findByMovementId(movement.getId(),
                    movement.getTenantId());
            for (final Document document : documents)
                movement.getDocuments().add(document.getDocument());
        }
        return movements;
    }

}