@GwtCompatible public class TypedValueListViewDataSubset extends ListViewDataSubset<TypedValue>
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.
AListViewDataSubset
where the result identifiers are TypedValue
objects.Modifier and Type | Field and Description |
---|---|
static TypedValueListViewDataSubset |
EMPTY |
QNAME, XML_ROOT_ELEMENT
BATCH_SIZE_FIELD_NAME, IDENTIFIERS_FIELD_NAME, RESULTS_FIELD_NAME, SORT_FIELD_NAME, START_INDEX_FIELD_NAME, TOTAL_COUNT_FIELD_NAME
Constructor and Description |
---|
TypedValueListViewDataSubset(int startIndex,
int batchSize,
java.util.List<SortInfo> sort,
int totalCount,
java.util.List<ListViewItem> data,
java.util.List<TypedValue> ids,
java.util.List<AppianError> errors)
Constructs a TypedValueListViewDataSubset using the given start index, batch size, list of sort
information, the total number of results, the list of results, the underlying data source identifiers,
and any errors that were collected while building this DataSubset.
|
TypedValueListViewDataSubset(PagingInfo pagingInfo,
int totalCount,
java.util.List<ListViewItem> data,
java.util.List<TypedValue> ids,
java.util.List<AppianError> errors)
The identifiers in a TypedValueListViewDataSubset will be
TypedValue objects. |
Modifier and Type | Method and Description |
---|---|
java.util.List<TypedValue> |
getIdentifiers()
Returns the identifiers of the data in
ListViewDataSubset.getData() . |
protected void |
setIdentifiers(java.util.List<TypedValue> identifiers)
Sets the the identifiers of the data in
DataSubset.getData() . |
equalDataCheck, getData, getErrors, multilineToString, multilineToStringHelper, setData, toString
getBatchSize, getSort, getStartIndex, getTotalCount
public static final TypedValueListViewDataSubset EMPTY
public TypedValueListViewDataSubset(PagingInfo pagingInfo, int totalCount, java.util.List<ListViewItem> data, java.util.List<TypedValue> ids, java.util.List<AppianError> errors)
TypedValue
objects.pagingInfo
- the PagingInfo
used to specific the start and size of the viewtotalCount
- the total number of results availabledata
- the list of resultsids
- the underlying data source identifierserrors
- errors that were collected while building this DataSubsetpublic TypedValueListViewDataSubset(int startIndex, int batchSize, java.util.List<SortInfo> sort, int totalCount, java.util.List<ListViewItem> data, java.util.List<TypedValue> ids, java.util.List<AppianError> errors)
startIndex
- the beginning of the viewbatchSize
- the request number of resultssort
- a list of SortInfototalCount
- the total number of results availabledata
- the list of resultsids
- the underlying data source identifierserrors
- errors that were collected while building this DataSubsetpublic java.util.List<TypedValue> getIdentifiers()
ListViewDataSubset.getData()
. These are
only unique if the underlying data source guarantees uniqueness.getIdentifiers
in class DataSubset<ListViewItem,TypedValue>
protected void setIdentifiers(java.util.List<TypedValue> identifiers)
DataSubset
DataSubset.getData()
.setIdentifiers
in class DataSubset<ListViewItem,TypedValue>
identifiers
- List of identifiersCopyright © 2003-2024 Appian Corporation. All Rights Reserved.