Class DefaultUnifiedUICreateUpdateATPCOBaggageCarryOnServiceStrategy

java.lang.Object
de.hybris.platform.unifieduibackofficeservices.strategies.impl.AbstractCreateUpdateATPCOServiceStrategy
de.hybris.platform.unifieduibackofficeservices.strategies.impl.DefaultUnifiedUICreateUpdateATPCOBaggageCarryOnServiceStrategy
All Implemented Interfaces:
UnifiedUICreateUpdateATPCOServiceStrategy

public class DefaultUnifiedUICreateUpdateATPCOBaggageCarryOnServiceStrategy extends AbstractCreateUpdateATPCOServiceStrategy implements UnifiedUICreateUpdateATPCOServiceStrategy
The Unified UI implementation of UnifiedUICreateUpdateATPCOServiceStrategy interface, to create/update an ATPCO baggage/carryOn product.
  • Constructor Details

    • DefaultUnifiedUICreateUpdateATPCOBaggageCarryOnServiceStrategy

      public DefaultUnifiedUICreateUpdateATPCOBaggageCarryOnServiceStrategy()
  • Method Details

    • createUpdateATPCOService

      public void createUpdateATPCOService(AncillaryProduct ancillaryProduct, CatalogVersionModel catalogVersion, Set<String> productNotCreated, List<ATPCOAncillaryProductModel> atpcoServices, List<ShoppingBaggageProductModel> shoppingBaggageProducts)
      This method will either create or update an existing baggage products in the system. If the products retrieved from Pros already exists in the system, it will be updated and removed from the list of the services, so at the end only the services that are not available anymore in Pros will be contained in the list.
      Specified by:
      createUpdateATPCOService in interface UnifiedUICreateUpdateATPCOServiceStrategy
      Parameters:
      ancillaryProduct - the services to create/update in the system
      catalogVersion - the catalog version
      productNotCreated - the list of product to be filled with the code of the product that are not created due to some issues
      atpcoServices - the atpco service products to be updated
      shoppingBaggageProducts - the atpco baggages/carryOn products to be updated
    • getUnifiedUIATPCOBaggageCarryOnServiceStrategyMap

      protected Map<String,UnifiedUIATPCOBaggageCarryOnServiceStrategy> getUnifiedUIATPCOBaggageCarryOnServiceStrategyMap()
      Gets unified ui atpco baggage carry on service strategy map.
      Returns:
      the unified uiatpco baggage carry on service strategy map
    • setUnifiedUIATPCOBaggageCarryOnServiceStrategyMap

      public void setUnifiedUIATPCOBaggageCarryOnServiceStrategyMap(Map<String,UnifiedUIATPCOBaggageCarryOnServiceStrategy> unifiedUIATPCOBaggageCarryOnServiceStrategyMap)
      Sets unified uiatpco baggage carry on service strategy map.
      Parameters:
      unifiedUIATPCOBaggageCarryOnServiceStrategyMap - the unified uiatpco baggage carry on service strategy map