@Deprecated
public class Notification
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
SORT_BY_APPLICATION
Deprecated.
A constant sort property for notification - sort by application
|
static java.lang.Integer |
SORT_BY_APPLICATION_ICON
Deprecated.
A constant sort property for notification - sort by application icon
|
static java.lang.Integer |
SORT_BY_ATTRIBUTES
Deprecated.
A constant sort property for notification - sort by attributes
|
static java.lang.Integer |
SORT_BY_ID
Deprecated.
A constant sort property for notification - sort by id
|
static java.lang.Integer |
SORT_BY_NOTIFICATION_TYPE
Deprecated.
A constant sort property for notification - sort by notifcation type
|
static java.lang.Integer |
SORT_BY_PAGE_RENDERER
Deprecated.
A constant sort property for notification - sort by page renderer
|
static java.lang.Integer |
SORT_BY_READ
Deprecated.
A constant sort property for notification - sort by read status
|
static java.lang.Integer |
SORT_BY_STRING_RENDERER
Deprecated.
A constant sort property for notification - sort by string renderer
|
static java.lang.Integer |
SORT_BY_TIMESTAMP
Deprecated.
A constant sort property for notification - sort by timestamp
|
static java.lang.Integer |
SORT_BY_TYPE_ICON
Deprecated.
A constant sort property for notification - sort by type icon
|
Constructor and Description |
---|
Notification()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplication()
Deprecated.
the name of the application that generated this notification
|
java.lang.String |
getApplicationIcon()
Deprecated.
the uri of an icon representing the application that generated this notification
|
java.util.Map |
getAttributes()
Deprecated.
a map of name-value attributes that are specific for each notification type
|
java.lang.Long |
getId()
Deprecated.
the unique identifier of this notification
|
static java.lang.Long[] |
getIds(Notification[] notifs)
Deprecated.
Get the ids (as a Long array) from an array of Notification objects.
|
java.lang.String |
getNotificationType()
Deprecated.
the type of notification
|
java.lang.String |
getPageRenderer()
Deprecated.
the uri to call to render this notification as an html page
|
boolean |
getRead()
Deprecated.
Has the notification been read?
|
static int |
getSortProperty(java.lang.String attribute_)
Deprecated.
Gets the (zero-based) index of the sort property referred to by
the given attribute.
|
java.lang.String |
getStringRenderer()
Deprecated.
the uri to call to render this notification as a single line of text
|
java.sql.Timestamp |
getTimestamp()
Deprecated.
the time at which this notification was generated
|
java.lang.String |
getTypeIcon()
Deprecated.
the uri of an icon representing the type of this notification
|
void |
setApplication(java.lang.String p)
Deprecated.
see
getApplication() |
void |
setApplicationIcon(java.lang.String p)
Deprecated.
|
void |
setAttributes(java.util.Map p)
Deprecated.
see
getAttributes() |
void |
setId(java.lang.Long p)
Deprecated.
see
getId() |
void |
setNotificationType(java.lang.String p)
Deprecated.
|
void |
setPageRenderer(java.lang.String p)
Deprecated.
|
void |
setRead(boolean r)
Deprecated.
see
getRead() |
void |
setStringRenderer(java.lang.String p)
Deprecated.
|
void |
setTimestamp(java.sql.Timestamp p)
Deprecated.
see
getTimestamp() |
void |
setTypeIcon(java.lang.String p)
Deprecated.
see
getTypeIcon() |
public static final java.lang.Integer SORT_BY_READ
public static final java.lang.Integer SORT_BY_ID
public static final java.lang.Integer SORT_BY_TIMESTAMP
public static final java.lang.Integer SORT_BY_ATTRIBUTES
public static final java.lang.Integer SORT_BY_APPLICATION
public static final java.lang.Integer SORT_BY_NOTIFICATION_TYPE
public static final java.lang.Integer SORT_BY_STRING_RENDERER
public static final java.lang.Integer SORT_BY_PAGE_RENDERER
public static final java.lang.Integer SORT_BY_APPLICATION_ICON
public static final java.lang.Integer SORT_BY_TYPE_ICON
public void setId(java.lang.Long p)
getId()
public java.lang.Long getId()
public void setApplication(java.lang.String p)
getApplication()
public java.lang.String getApplication()
public void setNotificationType(java.lang.String p)
public java.lang.String getNotificationType()
public void setTimestamp(java.sql.Timestamp p)
getTimestamp()
public java.sql.Timestamp getTimestamp()
public void setStringRenderer(java.lang.String p)
public java.lang.String getStringRenderer()
public void setPageRenderer(java.lang.String p)
public java.lang.String getPageRenderer()
public void setApplicationIcon(java.lang.String p)
public java.lang.String getApplicationIcon()
public void setTypeIcon(java.lang.String p)
getTypeIcon()
public java.lang.String getTypeIcon()
public void setAttributes(java.util.Map p)
getAttributes()
public java.util.Map getAttributes()
public void setRead(boolean r)
getRead()
public boolean getRead()
public static int getSortProperty(java.lang.String attribute_)
attribute_
- the name of a property of this beanpublic static java.lang.Long[] getIds(Notification[] notifs)
notifs
- an array of notificationsCopyright © 2003-2024 Appian Corporation. All Rights Reserved.