public interface MessageCollection
Modifier and Type | Interface and Description |
---|---|
static class |
MessageCollection.Field
An enumeration of field names in a message.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the unique ID of the message collection.
|
String |
getTitle()
Gets the title of the message collection.
|
Integer |
getTotal()
Gets the total number of messages for this collection.
|
Integer |
getUnread()
Gets the total number of unread messages.
|
Date |
getUpdated()
Returns the last time this message collection was modified.
|
List<Url> |
getUrls()
Get the URLs related to the message collection.
|
void |
setId(String id)
Sets the unique ID of the message collection.
|
void |
setTitle(String newTitle)
Sets the title of the message message collection.
|
void |
setTotal(Integer total)
Sets the total number of messages for this collection
|
void |
setUnread(Integer unread)
Sets the total number of unread messages.
|
void |
setUpdated(Date updated)
Sets the updated time for this message collection.
|
void |
setUrls(List<Url> urls)
Set the URLs related to the message collection
|
static final String OUTBOX
static final String ALL
String getId()
void setId(String id)
id
- the ID value to setString getTitle()
void setTitle(String newTitle)
newTitle
- the title of the messageInteger getTotal()
void setTotal(Integer total)
total
- the total number of messagesInteger getUnread()
void setUnread(Integer unread)
unread
- the number of unread messagesDate getUpdated()
void setUpdated(Date updated)
updated
- List<Url> getUrls()
Copyright © 2019 WSO2. All Rights Reserved.