Class ListPerspectiveDataModel<RECORD>
- java.lang.Object
-
- org.teamapps.ux.application.model.AbstractPerspectiveDataModel<RECORD>
-
- org.teamapps.ux.application.model.ListPerspectiveDataModel<RECORD>
-
- All Implemented Interfaces:
PerspectiveDataModel<RECORD>
public class ListPerspectiveDataModel<RECORD> extends AbstractPerspectiveDataModel<RECORD>
-
-
Constructor Summary
Constructors Constructor Description ListPerspectiveDataModel(PropertyProvider<RECORD> propertyProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRecord(RECORD record)java.util.List<RECORD>getEntities(int startIndex, int length, java.time.Instant start, java.time.Instant end, Sorting sorting)intgetRecordCount()-
Methods inherited from class org.teamapps.ux.application.model.AbstractPerspectiveDataModel
getCalendarModel, getCalendarModel, getInfiniteItemViewModel, getPropertyProvider, getTableModel, getTimeGraphModel, getTreeModel, getTreeNodeParentExtractor, handleDataUpdated
-
-
-
-
Constructor Detail
-
ListPerspectiveDataModel
public ListPerspectiveDataModel(PropertyProvider<RECORD> propertyProvider)
-
-
Method Detail
-
addRecord
public void addRecord(RECORD record)
-
getRecordCount
public int getRecordCount()
- Specified by:
getRecordCountin classAbstractPerspectiveDataModel<RECORD>
-
getEntities
public java.util.List<RECORD> getEntities(int startIndex, int length, java.time.Instant start, java.time.Instant end, Sorting sorting)
- Specified by:
getEntitiesin classAbstractPerspectiveDataModel<RECORD>
-
-