public class CatalogEntryKitComponentMediator extends AbstractCatalogEntryMediator
Constructor and Description |
---|
CatalogEntryKitComponentMediator() |
Modifier and Type | Method and Description |
---|---|
protected void | clearUniqueID()
Clear the unique ids set during the dataload.
|
void | close()
This method will perform cleanup on the business object mediator.
|
protected java.lang.String | getCatalogEntryTypeCode(java.lang.String catentryId)
Gets the type of the given catalog entry.
|
protected java.lang.String | getPhysicalKitComponentType(CatalogEntryType aCatalogEntry)
Derive the kit component type code based on the given catalog entry.
|
protected java.lang.String | getPhysicalKitComponentType(java.lang.String kitComponentType)
Converts the type of kit component type from logical name to physical name.
|
protected TableDataObject | populateCATENTRELForKit(CatalogEntryType catalogEntryNoun, KitComponentType catEntryKitComponent)
Populates the physical object of CATENTREL table for the kit component in the catalog entry logical object.
|
protected java.util.List | populateCATENTRELForKit(CatalogEntryType catalogEntryNoun, java.util.List catalogEntryKitComponentList)
Populates the physical object of CATENTREL table from the catalog entry kit component.
|
protected void | transform(java.lang.Object noun, boolean deleteFlag)
Transform the logical noun to list of physical objects The following methods were called to transform the noun parts of the catalog entry: populateCATENTRELForKit
|
protected java.lang.String getCatalogEntryTypeCode(java.lang.String catentryId) throws DataLoadException
protected java.lang.String getPhysicalKitComponentType(CatalogEntryType aCatalogEntry) throws DataLoadException
protected java.lang.String getPhysicalKitComponentType(java.lang.String kitComponentType)
protected java.util.List populateCATENTRELForKit(CatalogEntryType catalogEntryNoun, java.util.List catalogEntryKitComponentList) throws DataLoadException
protected TableDataObject populateCATENTRELForKit(CatalogEntryType catalogEntryNoun, KitComponentType catEntryKitComponent) throws DataLoadException
protected void transform(java.lang.Object noun, boolean deleteFlag) throws DataLoadException
protected void clearUniqueID()
public void close() throws DataLoadException
This method will perform cleanup on the business object mediator. It will attempt to close all of the data writers configured for this business object mediator.
This method will flush and commit any data waiting to be persisted in the batch as well as clear the ID resolver cache.