@GwtCompatible
public class ListViewItem
extends java.lang.Object
This class is available as a preview of functionality that will be added to the supported public API in a future release. While it is in the preview phase, it is subject to change or removal without deprecation or notice. Although notice of change is not guaranteed, we will try to let developers know of major changes through announcements in release notes.
A ListViewItem contains an image, a title, a timestamp, and details.
The image object can either be of type UserRef
or of type DocumentRef
.
The timestamp object is used to convey information about when the data that is represented by the ListViewItem was created or modified.
Modifier and Type | Class and Description |
---|---|
static class |
ListViewItem.Field
An enumeration used as keys for the fields of a
ListViewItem . |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCAL_PART |
static javax.xml.namespace.QName |
QNAME |
Constructor and Description |
---|
ListViewItem(java.lang.Object image,
java.lang.String title,
java.lang.String details)
Constructs a new ListViewItem using the given image, title, and details.
|
ListViewItem(java.lang.Object image,
java.lang.String title,
java.lang.String details,
java.sql.Timestamp timestamp)
Constructs a new ListViewItem with the given image, title, details, and timestamp.
|
ListViewItem(java.lang.String title,
java.lang.String details,
java.sql.Timestamp timestamp)
Constructs a new ListViewItem with the given title, details, and timestamp of when this ListViewItem was
created.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Equivalence<ListViewItem> |
equalDataCheck()
Returns an Equivalence object that can be used to determine if two ListViewItem objects are equal.
|
java.lang.String |
getDetails()
Returns the details of this ListViewItem.
|
java.lang.Object |
getImage()
Returns the ListViewItem image.
|
java.sql.Timestamp |
getTimestamp()
Returns the timestamp of this ListViewItem.
|
java.lang.String |
getTitle()
Returns the title of this ListViewItem.
|
java.lang.String |
toString() |
public static final java.lang.String LOCAL_PART
public static final javax.xml.namespace.QName QNAME
public ListViewItem(java.lang.Object image, java.lang.String title, java.lang.String details)
image
- a DocumentRef
or UserRef
that represents the underlying data. The document
must be an image and will be cropped to on display. The user's avatar will be used.title
- a short name for the itemdetails
- additional details about the itempublic ListViewItem(java.lang.String title, java.lang.String details, java.sql.Timestamp timestamp)
title
- a short name for the itemdetails
- additional details about the itemtimestamp
- the timestamp of when the data was created or last modifiedpublic ListViewItem(java.lang.Object image, java.lang.String title, java.lang.String details, java.sql.Timestamp timestamp)
image
- a DocumentRef
or UserRef
that represents the underlying data. The document
must be an image and will be cropped to on display. The user's avatar will be used.title
- a short name for the itemdetails
- additional details about the itemtimestamp
- the timestamp of when the data was created or last modifiedpublic java.lang.Object getImage()
public java.lang.String getTitle()
public java.lang.String getDetails()
public java.sql.Timestamp getTimestamp()
public java.lang.String toString()
toString
in class java.lang.Object
public static com.google.common.base.Equivalence<ListViewItem> equalDataCheck()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.