From 98800d24ae91d9aa66ba3322def7f7fe7a9c30c2 Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Fri, 16 Feb 2018 18:14:15 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/social-networking/social-networking-service-model@163347 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../model/output/MessageOutputBeanMixIn.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/gcube/portal/socialnetworking/model/output/MessageOutputBeanMixIn.java b/src/main/java/org/gcube/portal/socialnetworking/model/output/MessageOutputBeanMixIn.java index 6d3b61b..2231113 100644 --- a/src/main/java/org/gcube/portal/socialnetworking/model/output/MessageOutputBeanMixIn.java +++ b/src/main/java/org/gcube/portal/socialnetworking/model/output/MessageOutputBeanMixIn.java @@ -13,7 +13,7 @@ import org.gcube.common.homelibrary.home.workspace.exceptions.WrongDestinationEx import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; /** - * Used for serialization/deserialization of {@link org.gcube.common.homelibrary.home.workspace.sharing.WorkspaceMessage} + * Used for serialization of {@link org.gcube.common.homelibrary.home.workspace.sharing.WorkspaceMessage} * @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it) */ public interface MessageOutputBeanMixIn { @@ -35,13 +35,16 @@ public interface MessageOutputBeanMixIn { @JsonProperty("read") boolean isRead(); + + @JsonProperty("attachments_ids") + List getAttachmentsIds(); + + @JsonProperty("recipients") + List getAddresses(); @JsonIgnore void setStatus(boolean status) throws InternalErrorException; - @JsonProperty("attachments_ids") - List getAttachmentsIds(); - @JsonIgnore List getAttachments() throws InternalErrorException; @@ -53,9 +56,6 @@ public interface MessageOutputBeanMixIn { @JsonIgnore void open() throws InternalErrorException; - @JsonProperty("recipients") - List getAddresses(); - @JsonIgnore List getCopyAttachmentsIds();