From 4b18ec2f8e4fc3c8e728ee542b423f06e532227b Mon Sep 17 00:00:00 2001 From: fedoreno <fedoreno> Date: Fri, 26 Feb 2016 16:55:08 +0000 Subject: [PATCH] SSDM-2780: json-ignoring getFetchOptionsStringBuilder's in DTOs SVN: 35754 --- .../generic/asapi/v3/dto/common/fetchoptions/FetchOptions.java | 1 + .../vocabulary/fetchoptions/VocabularyTermFetchOptions.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/common/fetchoptions/FetchOptions.java b/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/common/fetchoptions/FetchOptions.java index f8b905138d2..0f740ad0013 100644 --- a/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/common/fetchoptions/FetchOptions.java +++ b/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/common/fetchoptions/FetchOptions.java @@ -58,6 +58,7 @@ public abstract class FetchOptions<OBJECT> implements Serializable public abstract SortOptions<OBJECT> getSortBy(); + @JsonIgnore public FetchOptionsToStringBuilder getFetchOptionsStringBuilder() { FetchOptionsToStringBuilder f = new FetchOptionsToStringBuilder("?", this); diff --git a/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/vocabulary/fetchoptions/VocabularyTermFetchOptions.java b/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/vocabulary/fetchoptions/VocabularyTermFetchOptions.java index 50025da13f3..3065ba72723 100644 --- a/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/vocabulary/fetchoptions/VocabularyTermFetchOptions.java +++ b/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/vocabulary/fetchoptions/VocabularyTermFetchOptions.java @@ -17,6 +17,7 @@ package ch.ethz.sis.openbis.generic.asapi.v3.dto.vocabulary.fetchoptions; import java.io.Serializable; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import ch.ethz.sis.openbis.generic.asapi.v3.dto.common.fetchoptions.FetchOptions; @@ -103,6 +104,8 @@ public class VocabularyTermFetchOptions extends FetchOptions<VocabularyTerm> imp { return sort; } + + @JsonIgnore @Override public FetchOptionsToStringBuilder getFetchOptionsStringBuilder() { -- GitLab