Class TableObjectMediator
- java.lang.Object
-
- com.ibm.commerce.foundation.dataload.businessobjectmediator.AbstractBusinessObjectMediator
-
- com.ibm.commerce.foundation.dataload.businessobjectmediator.TableObjectMediator
-
- All Implemented Interfaces:
- BusinessObjectMediator
public class TableObjectMediator extends AbstractBusinessObjectMediator
This table object mediator is an extension to the concept of a business object mediator for data load. The table object mediator is responsible for accepting pre-populated value objects representing physical tables (table data objects) in the data base. The partially populated table data objects will be additionally populated by this mediator with values that need to be resolved through the business context service or an ID resolution.
The
TableObjectMediator
extends theAbstractBusinessObjectMediator
. The data object passed to the transform() method is an instance ofList
and each element in the list is an instance ofExtendedTableDataObject
.The table object builder will populate the table data object using all column values which are from the input data and fixed value. The values which are from business context and need to be resolved by ID resolution are populated by this
TableObjectMediator
.
-
-
Constructor Summary
Constructors Constructor and Description TableObjectMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
close()
This method will perform de-initialization required for the table object mediator and call the super classclose()
method.void
init()
This method will perform initialization required for the table object mediator and call the super classinit()
method.-
Methods inherited from class com.ibm.commerce.foundation.dataload.businessobjectmediator.AbstractBusinessObjectMediator
execute, getConfigProperties, getEndKey, getStartKey, initConfig, postProcess, preProcess, setConfigProperties
-
-
-
-
Method Detail
-
init
public void init() throws DataLoadException
This method will perform initialization required for the table object mediator and call the super class
init()
method.- Specified by:
init
in interfaceBusinessObjectMediator
- Overrides:
init
in classAbstractBusinessObjectMediator
- Throws:
DataLoadException
- An application exception will be thrown if there was a problem initializing the business object mediator.- See Also:
BusinessObjectMediator.init()
,AbstractBusinessObjectMediator.init()
-
close
public void close() throws DataLoadException
This method will perform de-initialization required for the table object mediator and call the super class
close()
method.- Specified by:
close
in interfaceBusinessObjectMediator
- Overrides:
close
in classAbstractBusinessObjectMediator
- Throws:
DataLoadException
- An application exception will be thrown if there was a problem closing the business object mediator.- See Also:
BusinessObjectMediator.close()
,AbstractBusinessObjectMediator.close()
-
-