Skip navigation links


com.essbase.eas.essbase.ui.dlgs.dataload
Class DbDataLoadTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by javax.swing.table.DefaultTableModel
          extended by com.essbase.eas.ui.ctable.CTableModel
              extended by com.essbase.eas.essbase.ui.dlgs.dataload.DbDataLoadTableModel

All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.swing.event.TableModelListener, javax.swing.table.TableModel

public class DbDataLoadTableModel
extends CTableModel

dialog box to load data and build dimensions

Author:
Madhavi Bolisetty
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class com.essbase.eas.ui.ctable.CTableModel
CTableModel.MultiLineString

 

Field Summary
static int ABORT_ON_ERROR_COL
           
static java.lang.String ABORT_ON_ERROR_KEY
           
static int DATA_SOURCE_INFO_COL
           
static java.lang.String DATA_SOURCE_INFO_KEY
           
static int DATA_SOURCE_TYPE_COL
           
static java.lang.String DATA_SOURCE_TYPE_KEY
           
static java.lang.String DATALOADERROR_FILE
           
static int ERROR_FILE_INFO_COL
           
static java.lang.String ERROR_FILE_INFO_KEY
           
static int MODE_COL
           
static java.lang.String MODE_KEY
           
static int OVERWRITE_COL
           
static java.lang.String OVERWRITE_KEY
           
static int PASSWORD_COL
           
static java.lang.String PASSWORD_KEY
           
static int RULES_FILE_INFO_COL
           
static java.lang.String RULES_FILE_INFO_KEY
           
static int USER_NAME_COL
           
static java.lang.String USER_NAME_KEY
           

 

Fields inherited from class com.essbase.eas.ui.ctable.CTableModel
ColTypeCheck, ColTypeDate, ColTypeDouble, ColTypeLong, ColTypeMultiLine, ColTypeNumber, ColTypeObject, ColTypeOption, ColTypeString, ColTypeUser

 

Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector

 

Fields inherited from class javax.swing.table.AbstractTableModel
listenerList

 

Constructor Summary
DbDataLoadTableModel()
           

 

Method Summary
 void createRow(int newRow)
           
 void deleteRow(int row)
           
 boolean generateXml(java.io.File templateFile)
           
 boolean getEnableIncrementalDimBuild()
           
 DbDataLoadOperationData getRowDataFor(int row)
           
 java.util.ArrayList getRowDataList()
           
 java.lang.Object getValueAt(int row, int column)
           
 boolean importXml(java.io.File templateFile)
           
 boolean isBackgroundExecution()
           
 boolean isCellEditable(int row, int column)
           
 void populate()
           
 void setAbortOnErrorFor(int row, boolean selected)
           
 void setBackgroundExecution(boolean flag)
           
 void setDataSourceInfoFor(int currentRow, DefaultNamedObject namedObj)
           
 void setDataSourceInfoFor(int currentRow, java.io.File file)
           
 void setDataSourceTypeFor(int row, short type)
           
 void setEnableErrorFileColumn(boolean enable)
           
 void setModeFor(int row, short type)
           
 void setOverwriteErrorFileFor(int row, boolean selected)
           
 void setRowDataFor(int row, DbDataLoadOperationData data)
           
 void setRulesFileInfoFor(int currentRow, DefaultNamedObject rulesObj)
           
 void setRulesFileInfoFor(int currentRow, java.io.File rulesFile)
           
 void setValueAt(java.lang.Object aValue, int row, int column)
           
 void updateIncrementalDimBuildState()
           

 

Methods inherited from class com.essbase.eas.ui.ctable.CTableModel
addEditRow, addNewRow, addRow, changeRowValues, clearData, delRow, delRows, dispose, endInsert, endInsert, endUpdate, endUpdate, fireTableRowsInserted, fireTableRowsUpdated, getCellData, getColSortMode, getColumnAlignment, getColumnClass, getColumnIndexes, getComparator, getHeaderListener, getOriginalRow, getOriginalValue, getOrignalModel, getRow, getRowCount, getRowData, getRowValues, insertRow, isCellModified, isEditable, isSortable, removeRow, resetEditRow, resetTableCols, setCanReturnNull, setCellData, setCellEditableClass, setColSortMode, setColumnAlignment, setColumnClass, setColumnIdentifiers, setColumnIdentifiers, setColumnName, setColumnType, setComparator, setDataVector, setEditable, setHeaderListener, setMaxColumns, setNumRows, setRowData, setSortable, setTableColumnUnEditable, shouldRecalcRow, sort, sort, sort, startUpdate, tableChanged, updateRow, useTableModel, useTableModel, useTableModel, useTableModel

 

Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, insertRow, moveRow, newDataAvailable, newRowsAdded, rowsRemoved, setColumnCount, setDataVector, setRowCount

 

Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

DATA_SOURCE_TYPE_COL

public static final int DATA_SOURCE_TYPE_COL
See Also:
Constant Field Values

MODE_COL

public static final int MODE_COL
See Also:
Constant Field Values

DATA_SOURCE_INFO_COL

public static final int DATA_SOURCE_INFO_COL
See Also:
Constant Field Values

RULES_FILE_INFO_COL

public static final int RULES_FILE_INFO_COL
See Also:
Constant Field Values

ABORT_ON_ERROR_COL

public static final int ABORT_ON_ERROR_COL
See Also:
Constant Field Values

ERROR_FILE_INFO_COL

public static final int ERROR_FILE_INFO_COL
See Also:
Constant Field Values

OVERWRITE_COL

public static final int OVERWRITE_COL
See Also:
Constant Field Values

USER_NAME_COL

public static final int USER_NAME_COL
See Also:
Constant Field Values

PASSWORD_COL

public static final int PASSWORD_COL
See Also:
Constant Field Values

DATA_SOURCE_TYPE_KEY

public static final java.lang.String DATA_SOURCE_TYPE_KEY
See Also:
Constant Field Values

MODE_KEY

public static final java.lang.String MODE_KEY
See Also:
Constant Field Values

DATA_SOURCE_INFO_KEY

public static final java.lang.String DATA_SOURCE_INFO_KEY
See Also:
Constant Field Values

RULES_FILE_INFO_KEY

public static final java.lang.String RULES_FILE_INFO_KEY
See Also:
Constant Field Values

ABORT_ON_ERROR_KEY

public static final java.lang.String ABORT_ON_ERROR_KEY
See Also:
Constant Field Values

ERROR_FILE_INFO_KEY

public static final java.lang.String ERROR_FILE_INFO_KEY
See Also:
Constant Field Values

OVERWRITE_KEY

public static final java.lang.String OVERWRITE_KEY
See Also:
Constant Field Values

USER_NAME_KEY

public static final java.lang.String USER_NAME_KEY
See Also:
Constant Field Values

PASSWORD_KEY

public static final java.lang.String PASSWORD_KEY
See Also:
Constant Field Values

DATALOADERROR_FILE

public static final java.lang.String DATALOADERROR_FILE
See Also:
Constant Field Values

Constructor Detail

DbDataLoadTableModel

public DbDataLoadTableModel()

Method Detail

populate

public void populate()

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class CTableModel

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)
Specified by:
getValueAt in interface javax.swing.table.TableModel
Overrides:
getValueAt in class javax.swing.table.DefaultTableModel

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int row,
                       int column)
Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class CTableModel

setRowDataFor

public void setRowDataFor(int row,
                          DbDataLoadOperationData data)

getRowDataFor

public DbDataLoadOperationData getRowDataFor(int row)

getRowDataList

public java.util.ArrayList getRowDataList()

createRow

public void createRow(int newRow)

deleteRow

public void deleteRow(int row)

setAbortOnErrorFor

public void setAbortOnErrorFor(int row,
                               boolean selected)

setOverwriteErrorFileFor

public void setOverwriteErrorFileFor(int row,
                                     boolean selected)

setModeFor

public void setModeFor(int row,
                       short type)

setDataSourceTypeFor

public void setDataSourceTypeFor(int row,
                                 short type)

setDataSourceInfoFor

public void setDataSourceInfoFor(int currentRow,
                                 java.io.File file)

setDataSourceInfoFor

public void setDataSourceInfoFor(int currentRow,
                                 DefaultNamedObject namedObj)

setRulesFileInfoFor

public void setRulesFileInfoFor(int currentRow,
                                java.io.File rulesFile)

setRulesFileInfoFor

public void setRulesFileInfoFor(int currentRow,
                                DefaultNamedObject rulesObj)

generateXml

public boolean generateXml(java.io.File templateFile)

importXml

public boolean importXml(java.io.File templateFile)

setEnableErrorFileColumn

public void setEnableErrorFileColumn(boolean enable)

updateIncrementalDimBuildState

public void updateIncrementalDimBuildState()

getEnableIncrementalDimBuild

public boolean getEnableIncrementalDimBuild()

setBackgroundExecution

public void setBackgroundExecution(boolean flag)

isBackgroundExecution

public boolean isBackgroundExecution()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.