Class DefaultSapMappedDestinationService

java.lang.Object
de.hybris.platform.sap.sapmodel.services.impl.DefaultSapMappedDestinationService
All Implemented Interfaces:
SapMappedDestinationService<AbstractDestinationModel>

public class DefaultSapMappedDestinationService extends Object implements SapMappedDestinationService<AbstractDestinationModel>
Default implementation of SapMappedDestinationService interface to provide business logic for interface
  • Constructor Details

    • DefaultSapMappedDestinationService

      public DefaultSapMappedDestinationService()
  • Method Details

    • getDestinationByKeyForBaseStore

      public Optional<AbstractDestinationModel> getDestinationByKeyForBaseStore(@NotNull @NotNull BaseStoreModel baseStoreModel, SAPDestinationKey destinationKey)
      Description copied from interface: SapMappedDestinationService
      Get the destination for a specific destination key from SAPConsumedDestinationEntry
      Specified by:
      getDestinationByKeyForBaseStore in interface SapMappedDestinationService<AbstractDestinationModel>
      Parameters:
      baseStoreModel - a BaseStoreModel
      destinationKey - destination key to fetch associated consumed destination
      Returns:
      Optional.empty() if no destination found and Optional.of(destination) if destination found
    • getModelService

      protected de.hybris.platform.servicelayer.model.ModelService getModelService()
    • setModelService

      public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)