|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.apps.groupspace.notification.GroupSpaceNotification
com.bea.apps.groupspace.notification.InvitationNotification
public class InvitationNotification
This class handles notifications that were created by invitations.
Although, invitation notifications do not have attributes that associate them with GroupSpaceNotifications, this class still extends GroupSpaceNotification for simplicity.
| Field Summary | |
|---|---|
static String |
INVITATION_NAME
|
static String |
INVITATION_NAMESPACE
Setting to NotificationInviationHelper invitation namespace for consistency. |
| Fields inherited from class com.bea.apps.groupspace.notification.GroupSpaceNotification |
|---|
debug, expirationDate, GROUPSPACE_NOTIFICATION_NAMESPACE, notification, notificationProps, PROP_IMPLEMENTATION_KEY, PROP_SEVERITY_KEY, PROP_SUBJECT_KEY, SEVERITY_SEV_HIGH, SEVERITY_SEV_NORMAL |
| Constructor Summary | |
|---|---|
InvitationNotification(Notification notification)
Overridden so that the payload will not get parsed into properties. |
|
| Method Summary | |
|---|---|
protected String |
getNotificationName()
|
protected String |
getNotificationNamespace()
Must be implemented by concrete implementation so that we can construct the NotificationPayloadInfo. |
String |
getNotificationSubject()
Overridden to simply return the body of the original payload. |
boolean |
isValidNotification()
|
void |
setNotificationSubject(String subject)
Overridden to do nothing because the invitation framework has no concept of subject. |
protected void |
validateOnSend()
|
| Methods inherited from class com.bea.apps.groupspace.notification.GroupSpaceNotification |
|---|
getExpirationDate, getIsHighSeverity, getNotification, getNotificationAttribute, getNotificationAttribute, getNotificationSeverity, setExpirationDate, setNotificationAttribute, setNotificationSeverity, toNotificationPayloadInfo, toNotificationPayloadInfo, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String INVITATION_NAMESPACE
public static final String INVITATION_NAME
| Constructor Detail |
|---|
public InvitationNotification(Notification notification)
| Method Detail |
|---|
public String getNotificationSubject()
getNotificationSubject in class GroupSpaceNotificationpublic void setNotificationSubject(String subject)
setNotificationSubject in class GroupSpaceNotificationprotected String getNotificationNamespace()
GroupSpaceNotification
getNotificationNamespace in class GroupSpaceNotificationprotected String getNotificationName()
getNotificationName in class GroupSpaceNotification
protected void validateOnSend()
throws MissingDataException
validateOnSend in class GroupSpaceNotificationMissingDataExceptionpublic boolean isValidNotification()
isValidNotification in class GroupSpaceNotification
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||