|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageCollection
Base interface for all message collection objects. see http://code.google.com/apis/opensocial/docs/0.7/reference/opensocial.MessageCollection.html
| Nested Class Summary | |
|---|---|
static class |
MessageCollection.Field
An enumeration of field names in a message. |
| Field Summary | |
|---|---|
static java.lang.String |
ALL
|
static java.lang.String |
OUTBOX
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Gets the unique ID of the message collection. |
java.lang.String |
getTitle()
Gets the title of the message collection. |
java.lang.Integer |
getTotal()
Gets the total number of messages for this collection. |
java.lang.Integer |
getUnread()
Gets the total number of unread messages. |
java.util.Date |
getUpdated()
Returns the last time this message collection was modified. |
java.util.List<Url> |
getUrls()
Get the URLs related to the message collection. |
void |
setId(java.lang.String id)
Sets the unique ID of the message collection. |
void |
setTitle(java.lang.String newTitle)
Sets the title of the message message collection. |
void |
setTotal(java.lang.Integer total)
Sets the total number of messages for this collection |
void |
setUnread(java.lang.Integer unread)
Sets the total number of unread messages. |
void |
setUpdated(java.util.Date updated)
Sets the updated time for this message collection. |
void |
setUrls(java.util.List<Url> urls)
Set the URLs related to the message collection |
| Field Detail |
|---|
static final java.lang.String OUTBOX
static final java.lang.String ALL
| Method Detail |
|---|
java.lang.String getId()
void setId(java.lang.String id)
id - the ID value to setjava.lang.String getTitle()
void setTitle(java.lang.String newTitle)
newTitle - the title of the messagejava.lang.Integer getTotal()
void setTotal(java.lang.Integer total)
total - the total number of messagesjava.lang.Integer getUnread()
void setUnread(java.lang.Integer unread)
unread - the number of unread messagesjava.util.Date getUpdated()
void setUpdated(java.util.Date updated)
updated - java.util.List<Url> getUrls()
void setUrls(java.util.List<Url> urls)
urls - the URLs related to the message collection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||