From 3c48618bb5a68deab6dc6796b71ae604e8bcead5 Mon Sep 17 00:00:00 2001 From: Yves Peter Date: Thu, 22 Jul 2021 12:53:25 +0200 Subject: [PATCH] TemplateDTO: remove ownerResourceId again --- .../main/java/ch/mobi/itc/mobiliar/rest/dtos/TemplateDTO.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/AMW_rest/src/main/java/ch/mobi/itc/mobiliar/rest/dtos/TemplateDTO.java b/AMW_rest/src/main/java/ch/mobi/itc/mobiliar/rest/dtos/TemplateDTO.java index 47dd1324e..a826ebda5 100644 --- a/AMW_rest/src/main/java/ch/mobi/itc/mobiliar/rest/dtos/TemplateDTO.java +++ b/AMW_rest/src/main/java/ch/mobi/itc/mobiliar/rest/dtos/TemplateDTO.java @@ -40,7 +40,6 @@ public class TemplateDTO { private Integer id; private String relatedResourceIdentifier; - private Integer ownerResourceId; private String name; private String targetPath; private Set targetPlatforms; @@ -49,9 +48,6 @@ public class TemplateDTO { public TemplateDTO(TemplateDescriptorEntity template){ this.id = template.getId(); this.relatedResourceIdentifier = template.getRelatedResourceIdentifier(); - if (template.getOwnerResource() != null) { - this.ownerResourceId = template.getOwnerResource().getId(); - } this.name = template.getName(); this.targetPath = template.getTargetPath(); targetPlatforms = new HashSet<>();