Package org.teamapps.dto
Class UiTable.AddDataCommand
java.lang.Object
org.teamapps.dto.UiTable.AddDataCommand
- All Implemented Interfaces:
UiCommand<java.lang.Void>
- Enclosing class:
- UiTable
public static class UiTable.AddDataCommand extends java.lang.Object implements UiCommand<java.lang.Void>
-
Field Summary
Fields Modifier and Type Field Description protected booleanclearTableCacheprotected java.lang.StringcomponentIdprotected java.util.List<UiTableClientRecord>dataprotected UiSortDirectionsortDirectionprotected java.lang.StringsortFieldprotected intstartRowIndexprotected inttotalNumberOfRecords -
Constructor Summary
Constructors Constructor Description AddDataCommand()Deprecated.Only for Jackson deserialization.AddDataCommand(java.lang.String componentId, int startRowIndex, java.util.List<UiTableClientRecord> data, int totalNumberOfRecords, java.lang.String sortField, UiSortDirection sortDirection, boolean clearTableCache) -
Method Summary
Modifier and Type Method Description booleangetClearTableCache()java.lang.StringgetComponentId()java.util.List<UiTableClientRecord>getData()UiSortDirectiongetSortDirection()java.lang.StringgetSortField()intgetStartRowIndex()intgetTotalNumberOfRecords()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
componentId
protected java.lang.String componentId -
startRowIndex
protected int startRowIndex -
data
-
totalNumberOfRecords
protected int totalNumberOfRecords -
sortField
protected java.lang.String sortField -
sortDirection
-
clearTableCache
protected boolean clearTableCache
-
-
Constructor Details
-
AddDataCommand
@Deprecated public AddDataCommand()Deprecated.Only for Jackson deserialization. Use the other constructor instead. -
AddDataCommand
public AddDataCommand(java.lang.String componentId, int startRowIndex, java.util.List<UiTableClientRecord> data, int totalNumberOfRecords, java.lang.String sortField, UiSortDirection sortDirection, boolean clearTableCache)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getComponentId
public java.lang.String getComponentId()- Specified by:
getComponentIdin interfaceUiCommand<java.lang.Void>
-
getStartRowIndex
public int getStartRowIndex() -
getData
-
getTotalNumberOfRecords
public int getTotalNumberOfRecords() -
getSortField
public java.lang.String getSortField() -
getSortDirection
-
getClearTableCache
public boolean getClearTableCache()
-