|
|
|
@ -351,6 +351,10 @@ public class DatasetManager {
|
|
|
|
|
return dataset;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Dataset getEntitySingle(UUID id) {
|
|
|
|
|
return databaseRepository.getDatasetDao().find(id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public PagedDatasetProfile getPagedProfile(DatasetWizardModel dataset, eu.eudat.data.entities.Dataset datasetEntity) {
|
|
|
|
|
eu.eudat.models.data.user.composite.DatasetProfile datasetprofile = userManager.generateDatasetProfileModel(datasetEntity.getProfile());
|
|
|
|
|
datasetprofile.setStatus(dataset.getStatus());
|
|
|
|
@ -653,7 +657,7 @@ public class DatasetManager {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void checkDatasetValidation(Dataset dataset) throws Exception {
|
|
|
|
|
public void checkDatasetValidation(Dataset dataset) throws Exception {
|
|
|
|
|
List<String> datasetProfileValidators = new LinkedList<>();
|
|
|
|
|
DatasetProfile profile = apiContext.getOperationsContext().getDatabaseRepository().getDatasetProfileDao().find(dataset.getProfile().getId());
|
|
|
|
|
DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
|
|
|
|
|