public abstract class AbstractTableHandler extends java.lang.Object implements TableHandler
Constructor and Description |
---|
AbstractTableHandler() |
Modifier and Type | Method and Description |
---|---|
void | close()
It does nothing.
|
protected TableDataObject | createTableDataObject(java.lang.String tableName)
Creates a table data object.
|
protected TableDataObject | createTableDataObjectWithPrimary(java.lang.String tableName, java.util.Map primaryKeyValueMap)
Create a table data object with the primary key data.
|
protected TableDataObject | createTableDataObjectWithUniqueIndex(java.lang.String tableName, java.util.Map uniqueIndexValueMap)
It creates a table data object with the input unique index map.
|
void | init()
It does nothing.
|
protected boolean | isDelete()
Checks if the delete flag is true or not.
|
void | preProcess(ExtendedTableDataObject extendedTableDataObject)
It does nothing.
|
void | setDeleteFlag(boolean deleteFlag)
Sets the delete flag.
|
public void init() throws DataLoadException
public void preProcess(ExtendedTableDataObject extendedTableDataObject) throws DataLoadException
public void close()
protected TableDataObject createTableDataObject(java.lang.String tableName)
protected TableDataObject createTableDataObjectWithUniqueIndex(java.lang.String tableName, java.util.Map uniqueIndexValueMap) throws DataLoadException
protected TableDataObject createTableDataObjectWithPrimary(java.lang.String tableName, java.util.Map primaryKeyValueMap) throws DataLoadException
public void setDeleteFlag(boolean deleteFlag)
protected boolean isDelete()