public class CatalogEntryAttributeMediator extends AbstractCatalogEntryMediator
Constructor and Description |
---|
CatalogEntryAttributeMediator() |
Modifier and Type | Method and Description |
---|---|
protected void | cleanup(CatalogEntryType catalogEntry)
Clean up a catalog entry logical object.
|
protected void | clearUniqueID()
Remove the unique ids being set.
|
void | close()
This method will perform cleanup on the business object mediator.
|
protected TableDataObject | populateATTRIBUTE(CatalogAttributeType catalogAttribute, boolean deleteFlag)
Populates the physical object of ATTRIBUTE table from the catalog entry attribute logical object.
|
protected java.util.List | populateATTRIBUTE(CatalogEntryType catalogEntry, boolean deleteFlag)
Populates a list of physical objects of ATTRIBUTE table from the catalog entry logical object.
|
protected TableDataObject | populateATTRVALUE(CatalogAttributeType catalogAttribute, boolean deleteFlag)
Populates the physical object of ATTRVALUE table from the catalog entry attribute logical object.
|
protected java.util.List | populateATTRVALUE(CatalogEntryType catalogEntry, boolean deleteFlag)
Populates a list of physical objects of ATTRVALUE table from the catalog entry logical object.
|
protected void | transform(java.lang.Object catalogEntryNoun, boolean deleteFlag)
Transform the logical noun to list of physical objects.
|
protected void transform(java.lang.Object catalogEntryNoun, boolean deleteFlag) throws DataLoadException
protected void cleanup(CatalogEntryType catalogEntry)
protected void clearUniqueID()
protected java.util.List populateATTRIBUTE(CatalogEntryType catalogEntry, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateATTRIBUTE(CatalogAttributeType catalogAttribute, boolean deleteFlag) throws DataLoadException
protected java.util.List populateATTRVALUE(CatalogEntryType catalogEntry, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateATTRVALUE(CatalogAttributeType catalogAttribute, boolean deleteFlag) throws DataLoadException
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.