Package org.teamapps.ux.cache.record
Class RenderedRecordsCache<RECORD>
java.lang.Object
org.teamapps.ux.cache.record.RenderedRecordsCache<RECORD>
public class RenderedRecordsCache<RECORD>
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description RenderedRecordsCache() -
Method Summary
Modifier and Type Method Description voidaddNoShift(int startIndex, java.util.List<RecordAndClientRecord<RECORD>> newClientRecordPairs)voidclear()intgetEndIndex()intgetIndex(RECORD record)ItemRangegetRange()RECORDgetRecord(int uiRecordId)RECORDgetRecordByIndex(int index)java.util.List<RECORD>getRecords()java.util.List<RECORD>getRecords(java.util.List<java.lang.Integer> uiRecordIds)intgetStartIndex()org.teamapps.dto.UiIdentifiableClientRecordgetUiRecord(RECORD record)java.util.List<java.lang.Integer>getUiRecordIds()java.util.List<java.lang.Integer>getUiRecordIds(java.util.List<RECORD> records)voidinsertShifting(int startIndex, java.util.List<RecordAndClientRecord<RECORD>> newClientRecordPairs)voidremoveAfterNoShift(int index)voidremoveBeforeNoShift(int index)voidremoveNoShift(int startIndex, int endIndex)intsize()
-
Constructor Details
-
RenderedRecordsCache
public RenderedRecordsCache()
-
-
Method Details
-
getUiRecord
-
getIndex
-
getRecords
-
getRecord
-
getRecordByIndex
-
getRecords
-
getUiRecordIds
public java.util.List<java.lang.Integer> getUiRecordIds() -
getUiRecordIds
-
addNoShift
public void addNoShift(int startIndex, java.util.List<RecordAndClientRecord<RECORD>> newClientRecordPairs) -
insertShifting
public void insertShifting(int startIndex, java.util.List<RecordAndClientRecord<RECORD>> newClientRecordPairs) -
removeNoShift
public void removeNoShift(int startIndex, int endIndex) -
removeBeforeNoShift
public void removeBeforeNoShift(int index) -
removeAfterNoShift
public void removeAfterNoShift(int index) -
clear
public void clear() -
size
public int size() -
getStartIndex
public int getStartIndex() -
getEndIndex
public int getEndIndex() -
getRange
-