public class TableDataModel extends Object implements com.sapportals.util.session.api.IStoreable
| Constructor and Description |
|---|
TableDataModel()
Deprecated.
A blank constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(List iRowData)
Deprecated.
Adds a new row.
|
void |
destroy()
Deprecated.
Implement this method to implement the destroy function.
|
String |
getCell(int iRowIndex,
int iColumnIndex)
Deprecated.
Gets the cell value for a specified row and column.
|
Iterator |
getRow(int iRowIndex)
Deprecated.
Gets the row data for a specified row.
|
protected Integer |
getRowFixIndex(int iRowIndex)
Deprecated.
Gets the row fix index that is saved in the hidden column.
|
Iterator |
getSelectedRows()
Deprecated.
Gets the selected rows.
|
Iterator |
getSelectedRowsModel()
Deprecated.
Gets the row data for the selected rows.
|
com.sapportals.util.session.util.StoreableList |
getTableViewModel()
Deprecated.
Gets the table data model.
|
boolean |
isSelectedRow(int rowIndex)
Deprecated.
Checks whether a specified row is selected.
|
void |
removeRow(int rowIndex)
Deprecated.
Removes a specified row.
|
void |
removeSelectedRow(int iRowIndex)
Deprecated.
Unselects a specified row.
|
protected void |
removeSelectedRows()
Deprecated.
Removes all the rows from the selected rows list.
|
void |
restore(String state,
ClassLoader loader)
Deprecated.
Restores the table data from a string to a map.
|
protected void |
setSelectedRow(int iRowIndex)
Deprecated.
Sets a row as the selected row.
|
protected void |
setSelectedRows(com.sapportals.util.session.util.StoreableList iSelectedRows)
Deprecated.
Sets the indexes for the selected rows.
|
void |
setTableViewModel(com.sapportals.util.session.util.StoreableList iData)
Deprecated.
Sets a table data model.
|
String |
store(ClassLoader loader)
Deprecated.
Converts the map of table data into a string.
|
public com.sapportals.util.session.util.StoreableList getTableViewModel()
public void setTableViewModel(com.sapportals.util.session.util.StoreableList iData)
iData - a table data model listpublic Iterator getRow(int iRowIndex)
iRowIndex - a row indexpublic String getCell(int iRowIndex, int iColumnIndex)
iRowIndex - a row indexiColumnIndex - a column indexpublic void addRow(List iRowData)
iRowData - row datapublic void removeRow(int rowIndex)
rowIndex - an index number of a rowpublic Iterator getSelectedRows()
protected void setSelectedRows(com.sapportals.util.session.util.StoreableList iSelectedRows)
iSelectedRows - a list of indexes for the selected rowsprotected void removeSelectedRows()
protected void setSelectedRow(int iRowIndex)
createInputComponent.iRowIndex - a row indexpublic void removeSelectedRow(int iRowIndex)
iRowIndex - a row indexpublic Iterator getSelectedRowsModel()
public boolean isSelectedRow(int rowIndex)
rowIndex - a row indextrue if the row is selected,
false if notprotected Integer getRowFixIndex(int iRowIndex)
iRowIndex - a row indexpublic String store(ClassLoader loader)
store in interface com.sapportals.util.session.api.IStoreableloader - a classloaderpublic void restore(String state, ClassLoader loader)
restore in interface com.sapportals.util.session.api.IStoreablestate - the table dataloader - a class loaderpublic void destroy()
destroy in interface com.sapportals.util.session.api.IStoreable| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
api
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice