public interface DataWriter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the data writer.
|
ConfigProperties |
getConfigProperties()
Get the instance of the ConfigProperties of the DataWriter.
|
void |
init()
Do some initialization for the data writer.
|
ConfigProperties |
initConfig(org.w3c.dom.Node dataWriterNode,
ConfigProperties parentConfigProperties)
This method parses the
DataWriter xml node read in from the data load configuration file
and stores the configuration in memory. |
void |
save(java.lang.Object dataObjects)
Save the physical data objects.
|
void |
setConfigProperties(ConfigProperties aConfigProperties)
Sets the ConfigProperties to the DataWriter.
|
static final java.lang.String COPYRIGHT
ConfigProperties getConfigProperties()
void setConfigProperties(ConfigProperties aConfigProperties)
aConfigProperties
- a ConfigPropertiesvoid init() throws DataLoadException
DataLoadException
ConfigProperties initConfig(org.w3c.dom.Node dataWriterNode, ConfigProperties parentConfigProperties) throws DataLoadException
This method parses the DataWriter
xml node read in from the data load configuration file
and stores the configuration in memory.
dataWriterNode
- The DataWriter
xml node read in from the data load configuration file.parentConfigProperties
- The configuration properties for the parent business object mediator of this data writer.DataLoadException
- An application exception will be thrown if there was a problem initializing the configuration for the data writer.void save(java.lang.Object dataObjects) throws DataLoadException
dataObjects
- physical data objects
to be insert, update and delete, respectivelyDataLoadException
- this exception is thrown if there was some problem to save the data objects.void close() throws DataLoadException
DataLoadException