|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.netuix.application.notifications.Notification
public class Notification
The notification object represents a notification sent to a single user.
Constructor Summary | |
---|---|
Notification(NotificationId id,
String user,
boolean consumed,
NotificationPayload payload)
Constructor for a Notification object. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
NotificationId |
getId()
Returns the NotificationId for this Notification . |
NotificationPayload |
getNotificationPayload()
Returns the NotificationPayload object for this notification. |
String |
getUsername()
Returns the username this notification was sent to. |
boolean |
isConsumed()
Indicates whether this notification has been consumed. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Notification(NotificationId id, String user, boolean consumed, NotificationPayload payload)
id
- the ID of the notification.user
- the WLS username for the notification.consumed
- true
if this notification has been consumed.payload
- the payload for this notification.Method Detail |
---|
public NotificationId getId()
NotificationId
for this Notification
.
NotificationId
for this Notification
public String getUsername()
public boolean isConsumed()
true
if this notification has been consumed.public NotificationPayload getNotificationPayload()
NotificationPayload
object for this notification.
NotificationPayload
object for this notificationpublic boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |