Package org.teamapps.ux.cache.record
Class RenderedRecordsCache<RECORD>
java.lang.Object
org.teamapps.ux.cache.record.RenderedRecordsCache<RECORD>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNoShift(int startIndex, List<RecordAndClientRecord<RECORD>> newClientRecordPairs) voidclear()intintgetRange()getRecord(int uiRecordId) getRecordByIndex(int index) getRecords(List<Integer> uiRecordIds) intgetUiRecord(RECORD record) getUiRecordIds(List<RECORD> records) voidinsertShifting(int startIndex, List<RecordAndClientRecord<RECORD>> newClientRecordPairs) voidremoveAfterNoShift(int index) voidremoveBeforeNoShift(int index) voidremoveNoShift(int startIndex, int endIndex) intsize()voidupdateRecord(RECORD record, UiIdentifiableClientRecord clientRecord)
-
Constructor Details
-
RenderedRecordsCache
public RenderedRecordsCache() -
RenderedRecordsCache
-
-
Method Details
-
getUiRecord
-
getIndex
-
getRecords
-
getRecord
-
getRecordByIndex
-
getRecords
-
getUiRecordIds
-
getUiRecordIds
-
addNoShift
-
insertShifting
public void insertShifting(int startIndex, List<RecordAndClientRecord<RECORD>> newClientRecordPairs) -
removeNoShift
public void removeNoShift(int startIndex, int endIndex) -
removeBeforeNoShift
public void removeBeforeNoShift(int index) -
removeAfterNoShift
public void removeAfterNoShift(int index) -
updateRecord
-
clear
public void clear() -
size
public int size() -
getStartIndex
public int getStartIndex() -
getEndIndex
public int getEndIndex() -
getRange
-