com.sapportals.admin.wizardframework.components.tableview

Class TableDataModel

java.lang.Object
  extended by com.sapportals.admin.wizardframework.components.tableview.TableDataModel
All Implemented Interfaces:
com.sapportals.util.session.api.IStoreable

Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com).

public class TableDataModel
extends Object
implements com.sapportals.util.session.api.IStoreable

The class that represents the data model for a table.


Field Summary
 
Fields inherited from interface com.sapportals.util.session.api.IStoreable
EAGER_INSTANTIATION, LAZY_INSTANTIATION
 
Constructor Summary
TableDataModel()
          Deprecated. A blank constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDataModel

public TableDataModel()
Deprecated. 
A blank constructor.

Method Detail

getTableViewModel

public com.sapportals.util.session.util.StoreableList getTableViewModel()
Deprecated. 
Gets the table data model.

Returns:
a table data model list

setTableViewModel

public void setTableViewModel(com.sapportals.util.session.util.StoreableList iData)
Deprecated. 
Sets a table data model.

Parameters:
iData - a table data model list

getRow

public Iterator getRow(int iRowIndex)
Deprecated. 
Gets the row data for a specified row.

Parameters:
iRowIndex - a row index
Returns:
the row data

getCell

public String getCell(int iRowIndex,
                      int iColumnIndex)
Deprecated. 
Gets the cell value for a specified row and column.

Parameters:
iRowIndex - a row index
iColumnIndex - a column index
Returns:
the cell value

addRow

public void addRow(List iRowData)
Deprecated. 
Adds a new row.

Parameters:
iRowData - row data

removeRow

public void removeRow(int rowIndex)
Deprecated. 
Removes a specified row.

Parameters:
rowIndex - an index number of a row

getSelectedRows

public Iterator getSelectedRows()
Deprecated. 
Gets the selected rows.

Returns:
a list of the selected rows

setSelectedRows

protected void setSelectedRows(com.sapportals.util.session.util.StoreableList iSelectedRows)
Deprecated. 
Sets the indexes for the selected rows.

Parameters:
iSelectedRows - a list of indexes for the selected rows

removeSelectedRows

protected void removeSelectedRows()
Deprecated. 
Removes all the rows from the selected rows list.


setSelectedRow

protected void setSelectedRow(int iRowIndex)
Deprecated. 
Sets a row as the selected row.
Note: This method cannot be called from the pane before createInputComponent.

Parameters:
iRowIndex - a row index

removeSelectedRow

public void removeSelectedRow(int iRowIndex)
Deprecated. 
Unselects a specified row. Removes the row from the selected rows list.

Parameters:
iRowIndex - a row index

getSelectedRowsModel

public Iterator getSelectedRowsModel()
Deprecated. 
Gets the row data for the selected rows.

Returns:
the row data

isSelectedRow

public boolean isSelectedRow(int rowIndex)
Deprecated. 
Checks whether a specified row is selected.

Parameters:
rowIndex - a row index
Returns:
true if the row is selected, false if not

getRowFixIndex

protected Integer getRowFixIndex(int iRowIndex)
Deprecated. 
Gets the row fix index that is saved in the hidden column.

Parameters:
iRowIndex - a row index
Returns:
the row fix index

store

public String store(ClassLoader loader)
Deprecated. 
Converts the map of table data into a string.

Specified by:
store in interface com.sapportals.util.session.api.IStoreable
Parameters:
loader - a classloader
Returns:
a string of table data

restore

public void restore(String state,
                    ClassLoader loader)
Deprecated. 
Restores the table data from a string to a map.

Specified by:
restore in interface com.sapportals.util.session.api.IStoreable
Parameters:
state - the table data
loader - a class loader

destroy

public void destroy()
Deprecated. 
Implement this method to implement the destroy function. The default implementation does nothing.

Specified by:
destroy in interface com.sapportals.util.session.api.IStoreable
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated api EP-PIN-APF
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated - EP-PIN-APF


Copyright 2011 SAP AG Complete Copyright Notice