Commit d6565238 authored by Maxym Borodenko's avatar Maxym Borodenko

Dataset export details

parent 0c66b196
......@@ -430,7 +430,9 @@ public class DownloadServiceImpl implements DownloadService {
// 6 Dataset description
updateCell(sheet.getRow(row++), col, dataset.getDescription());
// 7 Dataset URL
updateCell(sheet.getRow(row++), col, dataset.getSource());
StringBuilder datasetUrl = new StringBuilder();
datasetUrl.append(genesysCatalogUrl).append("/datasets/").append(dataset.getUuid());
updateCell(sheet.getRow(row++), col, datasetUrl.toString());
// 8 Date of registration of the dataset
updateCell(sheet.getRow(row++), col, dataset.getCreatedDate());
// 9 License
......@@ -466,7 +468,7 @@ public class DownloadServiceImpl implements DownloadService {
// Version 1.0.
citation.append("Version ").append(dataset.getVersionTag()).append(". ");
// https://catalog.demo.genesys-pgr.org/datasets/65c12a21-7fa4-481e-ae79-758426c4cae3
citation.append(genesysCatalogUrl).append("/datasets/").append(dataset.getUuid());
citation.append(datasetUrl);
// accessed on 2018-APR-1
citation.append(" accessed on 1 April 2017");
updateCell(sheet.getRow(row++), col, citation.toString());
......@@ -548,9 +550,6 @@ public class DownloadServiceImpl implements DownloadService {
updateCell(nextRow, 3, creator.getFullName());
updateCell(nextRow, 4, creator.getRole().name());
updateCell(nextRow, 5, creator.getInstitutionalAffiliation());
updateCell(nextRow, 6, creator.getEmail());
updateCell(nextRow, 7, creator.getPhoneNumber());
updateCell(nextRow, 8, creator.getFax());
updateCell(nextRow, 9, creator.getInstituteAddress());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment