public class MessageInfo extends Object
| Constructor and Description |
|---|
MessageInfo() |
| Modifier and Type | Method and Description |
|---|---|
MessageInfo |
body(String body) |
MessageInfo |
end()
Finishes to assign states to current MessageInfo instance
|
boolean |
equals(Object obj) |
MessageInfo |
footer(String footer) |
MessageInfo |
from(String from) |
String |
getBody() |
long |
getCreatedTime()
Gets time to create MessageInfo and use it as node name
|
String |
getFooter() |
String |
getFrom() |
String |
getId()
Gets the uuid of messageInfo node
|
int |
getNumberOnBadge()
Gets the badge number of the user
|
String |
getPluginId() |
String |
getSubject() |
String |
getTo() |
int |
hashCode() |
boolean |
isMoveTop()
Gets the the move top value
|
org.exoplatform.services.mail.Message |
makeEmailNotification() |
String |
makeNotification() |
MessageInfo |
pluginId(String pluginId) |
void |
setCreatedTime(long createdTime) |
MessageInfo |
setId(String id)
Sets the uuid of messageInfo node
|
void |
setMoveTop(boolean moveTop)
Sets the the move top value
|
void |
setNumberOnBadge(int numberOnBadge)
Sets the badge number of the user
|
MessageInfo |
subject(String subject) |
MessageInfo |
to(String to) |
String |
toJSON() |
String |
toString() |
public MessageInfo setId(String id)
id - the pluginId to setpublic String getId()
public String getPluginId()
public MessageInfo pluginId(String pluginId)
pluginId - the pluginId to setpublic String getFrom()
public MessageInfo from(String from)
from - the from to setpublic String getTo()
public MessageInfo to(String to)
to - the to to setpublic String getBody()
public MessageInfo body(String body)
body - the body to setpublic String getSubject()
public MessageInfo subject(String subject)
subject - the subject to setpublic String getFooter()
public MessageInfo footer(String footer)
footer - the foodter to setpublic MessageInfo end()
public org.exoplatform.services.mail.Message makeEmailNotification()
public String makeNotification()
public String toJSON()
public long getCreatedTime()
public void setCreatedTime(long createdTime)
public int getNumberOnBadge()
public boolean isMoveTop()
public void setMoveTop(boolean moveTop)
moveTop - TRUE/FALSEpublic void setNumberOnBadge(int numberOnBadge)
numberOnBadge - Copyright © 2003–2019 eXo Platform SAS. All rights reserved.