|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.netuix.application.notifications.NotificationPayloadInfo
public class NotificationPayloadInfo
Used to contain information needed to construct a NotificationPayload object.
Field Summary | |
---|---|
Date |
expirationDate The date after which the notification is considered expired and will no longer be delivered. |
static int |
MAX_PAYLOAD_LENGTH The maximum length for a payload. |
String |
name The name for the notification- cannot be null. |
String |
namespace The namespace for the notification- cannot be null. |
String |
payload The actual payload for the notification. |
boolean |
selfDestruct Flag indicating whether notifications should self-destruct. |
String |
sourceDesktopInstanceTitle The desktop instance title for the source of the notification. |
DesktopPath |
sourceDesktopPath The desktop path for the source of the notification. |
PortalPath |
sourcePortalPath The portal path for the source of the notification. |
String |
sourcePortletDefinitionLabel The portlet definition label for the source of the notification. |
String |
sourcePortletInstanceLabel The portlet instance label for the source of the notification. |
String |
sourceWebAppName The webapp name for the source of the notification- cannot be null. |
String |
targetWebAppName The target webapp for the notification. |
Constructor Summary | |
---|---|
NotificationPayloadInfo() Default constructor. |
Method Summary | |
---|---|
String |
toString() |
void |
validate() Used to validate that all instance variables have acceptable values. |
void |
validate(boolean checkExpiration) Used to validate that instance variables have acceptable values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MAX_PAYLOAD_LENGTH
public String namespace
public String name
public String payload
public String targetWebAppName
public String sourceWebAppName
public PortalPath sourcePortalPath
public DesktopPath sourceDesktopPath
public String sourceDesktopInstanceTitle
public String sourcePortletDefinitionLabel
public String sourcePortletInstanceLabel
public boolean selfDestruct
true
and this is highly recommended.public Date expirationDate
true
, the notification will be automatically removed from the database when it expires. This value cannot be null or prior to the current time.Constructor Detail |
---|
public NotificationPayloadInfo()
Method Detail |
---|
public void validate() throws IllegalArgumentException
IllegalArgumentException
- if any of the instance variables do not have acceptable values.public void validate(boolean checkExpiration) throws IllegalArgumentException
checkExpiration
- if false
, the expirationDate is not checked to see if it is before the current time.IllegalArgumentException
- if any of the instance variables do not have acceptable values.public String toString()
toString
in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.