use of org.kie.workbench.common.services.refactoring.model.query.RefactoringPathPageRow in project kie-wb-common by kiegroup.
the class FileDetailsResponseBuilder method buildResponse.
@Override
public List<RefactoringPageRow> buildResponse(final List<KObject> kObjects) {
final List<RefactoringPageRow> result = new ArrayList<RefactoringPageRow>(kObjects.size());
for (final KObject kObject : kObjects) {
final Path path = Paths.convert(ioService.get(URI.create(kObject.getKey())));
final RefactoringPathPageRow row = new RefactoringPathPageRow();
row.setValue(path);
result.add(row);
}
return result;
}
use of org.kie.workbench.common.services.refactoring.model.query.RefactoringPathPageRow in project kie-wb-common by kiegroup.
the class DefaultResponseBuilder method buildResponse.
@Override
public List<RefactoringPageRow> buildResponse(final List<KObject> kObjects) {
final List<RefactoringPageRow> result = new ArrayList<RefactoringPageRow>(kObjects.size());
for (final KObject kObject : kObjects) {
final Path path = Paths.convert(ioService.get(URI.create(kObject.getKey())));
final RefactoringPathPageRow row = new RefactoringPathPageRow();
row.setValue(path);
result.add(row);
}
return result;
}
Aggregations