git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/social-networking/social-networking-service-model@163347 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1dbc072f16
commit
98800d24ae
|
@ -13,7 +13,7 @@ import org.gcube.common.homelibrary.home.workspace.exceptions.WrongDestinationEx
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
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)
|
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
||||||
*/
|
*/
|
||||||
public interface MessageOutputBeanMixIn {
|
public interface MessageOutputBeanMixIn {
|
||||||
|
@ -35,13 +35,16 @@ public interface MessageOutputBeanMixIn {
|
||||||
|
|
||||||
@JsonProperty("read")
|
@JsonProperty("read")
|
||||||
boolean isRead();
|
boolean isRead();
|
||||||
|
|
||||||
|
@JsonProperty("attachments_ids")
|
||||||
|
List<String> getAttachmentsIds();
|
||||||
|
|
||||||
|
@JsonProperty("recipients")
|
||||||
|
List<String> getAddresses();
|
||||||
|
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
void setStatus(boolean status) throws InternalErrorException;
|
void setStatus(boolean status) throws InternalErrorException;
|
||||||
|
|
||||||
@JsonProperty("attachments_ids")
|
|
||||||
List<String> getAttachmentsIds();
|
|
||||||
|
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
List<WorkspaceItem> getAttachments() throws InternalErrorException;
|
List<WorkspaceItem> getAttachments() throws InternalErrorException;
|
||||||
|
|
||||||
|
@ -53,9 +56,6 @@ public interface MessageOutputBeanMixIn {
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
void open() throws InternalErrorException;
|
void open() throws InternalErrorException;
|
||||||
|
|
||||||
@JsonProperty("recipients")
|
|
||||||
List<String> getAddresses();
|
|
||||||
|
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
List<String> getCopyAttachmentsIds();
|
List<String> getCopyAttachmentsIds();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue