Package com.appiancorp.type.system
Class TypedValueListViewDataSubset
java.lang.Object
com.appiancorp.suiteapi.common.paging.DataSubset<ListViewItem,I>
com.appiancorp.type.system.ListViewDataSubset<TypedValue>
com.appiancorp.type.system.TypedValueListViewDataSubset
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.-
Field Summary
Fields inherited from class com.appiancorp.type.system.ListViewDataSubset
QNAME, XML_ROOT_ELEMENT
Fields inherited from class com.appiancorp.suiteapi.common.paging.DataSubset
BATCH_SIZE_FIELD_NAME, IDENTIFIERS_FIELD_NAME, RESULTS_FIELD_NAME, SORT_FIELD_NAME, START_INDEX_FIELD_NAME, TOTAL_COUNT_FIELD_NAME
-
Constructor Summary
ConstructorDescriptionTypedValueListViewDataSubset
(int startIndex, int batchSize, List<SortInfo> sort, int totalCount, List<ListViewItem> data, List<TypedValue> ids, 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, List<ListViewItem> data, List<TypedValue> ids, List<AppianError> errors) The identifiers in a TypedValueListViewDataSubset will beTypedValue
objects. -
Method Summary
Modifier and TypeMethodDescriptionReturns the identifiers of the data inListViewDataSubset.getData()
.protected void
setIdentifiers
(List<TypedValue> identifiers) Sets the the identifiers of the data inDataSubset.getData()
.Methods inherited from class com.appiancorp.type.system.ListViewDataSubset
equalDataCheck, getData, getErrors, multilineToString, multilineToStringHelper, setData, toString
Methods inherited from class com.appiancorp.suiteapi.common.paging.DataSubset
getBatchSize, getSort, getStartIndex, getTotalCount
-
Field Details
-
EMPTY
-
-
Constructor Details
-
TypedValueListViewDataSubset
public TypedValueListViewDataSubset(PagingInfo pagingInfo, int totalCount, List<ListViewItem> data, List<TypedValue> ids, List<AppianError> errors) The identifiers in a TypedValueListViewDataSubset will beTypedValue
objects.- Parameters:
pagingInfo
- thePagingInfo
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 DataSubset
-
TypedValueListViewDataSubset
public TypedValueListViewDataSubset(int startIndex, int batchSize, List<SortInfo> sort, int totalCount, List<ListViewItem> data, List<TypedValue> ids, 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.- Parameters:
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 DataSubset
-
-
Method Details
-
getIdentifiers
Returns the identifiers of the data inListViewDataSubset.getData()
. These are only unique if the underlying data source guarantees uniqueness.- Specified by:
getIdentifiers
in classDataSubset<ListViewItem,
TypedValue> - Returns:
- the identifiers of the data in the DataSubset
-
setIdentifiers
Description copied from class:DataSubset
Sets the the identifiers of the data inDataSubset.getData()
.- Specified by:
setIdentifiers
in classDataSubset<ListViewItem,
TypedValue> - Parameters:
identifiers
- List of identifiers
-