|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.anidb.Notification
net.anidb.MessageNotification
public class MessageNotification
A message notification.
| Constructor Summary | |
|---|---|
MessageNotification(NotificationListEntry entry,
long messageId,
long fromUserId,
java.lang.String fromUserName,
long date,
long type,
java.lang.String title,
java.lang.String body)
Creates a message notification. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBody()
Returns the body. |
long |
getDate()
Returns the time of the event. |
long |
getFromUserId()
Returns the sender user Id. |
java.lang.String |
getFromUserName()
Returns the sender user name. |
long |
getMessageId()
Returns the message Id. |
java.lang.String |
getTitle()
Returns the title. |
long |
getType()
Returns the type of the message. |
| Methods inherited from class net.anidb.Notification |
|---|
equals, getEntry, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageNotification(NotificationListEntry entry,
long messageId,
long fromUserId,
java.lang.String fromUserName,
long date,
long type,
java.lang.String title,
java.lang.String body)
entry - The notification list entry.messageId - The message Id.fromUserId - The sender user Id.fromUserName - The sender user name.date - The time of the event.type - The type of the message.title - The title.body - The body.
java.lang.IllegalArgumentException - If the notification list entry is
null.
java.lang.IllegalArgumentException - Of the sender user name is
null.
java.lang.IllegalArgumentException - If the title is null.
java.lang.IllegalArgumentException - If the body is null.| Method Detail |
|---|
public long getMessageId()
public long getFromUserId()
public java.lang.String getFromUserName()
public long getDate()
public long getType()
public java.lang.String getTitle()
public java.lang.String getBody()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||