com.ibm.commerce.catalog.facade.server.services.dataaccess.bom.mediator

Class ReadCatalogEntryKitComponentMediator

  • All Implemented Interfaces:
    BusinessObjectMediator, ReadBusinessObjectPartMediator


    public class ReadCatalogEntryKitComponentMediator
    extends AbstractReadBusinessObjectPartMediatorImpl
    This mediator is used to convert the resultset data for the CATENTREL table into it's logical manifestation in the logical CatalogEntry noun. This mediator handles the /CatalogEntry/KitComponents portion of the noun. It populates the child catalog entries from the physical graph into the logical noun, where the parent catalog entry type is either a Bundle, Kit or Package.
    • Constructor Detail

      • ReadCatalogEntryKitComponentMediator

        public ReadCatalogEntryKitComponentMediator()
    • Method Detail

      • buildNounPart

        public void buildNounPart(java.lang.Object aNoun,
                                  java.lang.Object aPhysicalEntity)
                           throws AbstractApplicationException
        Build the /CatalogEntry/KitComponents portion of the CatalogEntry noun, based on data contained in the result graph. If no component data is found in the physical graph or if the CatalogEntry is not a Bundle, Kit or Package, then the logical noun is unchanged by this operation.
        Parameters:
        aNoun - an Object for holding the Logial enity which is of type CatalogEntry, to be populated by copying data from physical entity
        aPhysicalEntity - an Object to hold the physical entity of type CatalogEntry which contains the data that has to be populated in Logical Entity.
        Throws:
        AbstractApplicationException - throws an exception of type BusinessObjectMediatorException
        See Also:
        ReadBusinessObjectPartMediator.buildNounPart(java.lang.Object, java.lang.Object)