Costantino Perciante 2018-02-16 18:14:15 +00:00
parent 1dbc072f16
commit 98800d24ae
1 changed files with 7 additions and 7 deletions

View File

@ -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<String> getAttachmentsIds();
@JsonProperty("recipients")
List<String> getAddresses();
@JsonIgnore
void setStatus(boolean status) throws InternalErrorException;
@JsonProperty("attachments_ids")
List<String> getAttachmentsIds();
@JsonIgnore
List<WorkspaceItem> getAttachments() throws InternalErrorException;
@ -53,9 +56,6 @@ public interface MessageOutputBeanMixIn {
@JsonIgnore
void open() throws InternalErrorException;
@JsonProperty("recipients")
List<String> getAddresses();
@JsonIgnore
List<String> getCopyAttachmentsIds();