Class DefaultSapCpqQuoteService

  • All Implemented Interfaces:
    SapCpqQuoteService

    public class DefaultSapCpqQuoteService
    extends java.lang.Object
    implements SapCpqQuoteService
    Default Implementation of SapCpqQuoteService
    • Field Detail

      • SALES_AREA_QUERY

        protected static final java.lang.String SALES_AREA_QUERY
        See Also:
        Constant Field Values
      • SALES_AREA_WHERE_CLAUSE

        protected static final java.lang.String SALES_AREA_WHERE_CLAUSE
        See Also:
        Constant Field Values
      • WHERE_CODE_CLAUSE

        protected static final java.lang.String WHERE_CODE_CLAUSE
        See Also:
        Constant Field Values
      • ORDER_BY_VERSION_DESC

        protected static final java.lang.String ORDER_BY_VERSION_DESC
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultSapCpqQuoteService

        public DefaultSapCpqQuoteService()
    • Method Detail

      • getCurrentQuoteForExternalQuoteId

        public QuoteModel getCurrentQuoteForExternalQuoteId​(java.lang.String externalQuoteId)
        Description copied from interface: SapCpqQuoteService
        Method that fetches quote based on externalQuoteId
        Specified by:
        getCurrentQuoteForExternalQuoteId in interface SapCpqQuoteService
        Parameters:
        externalQuoteId - Quote External Id
        Returns:
        QuoteModel the Quote Model
      • getSiteAndStoreFromSalesArea

        public java.lang.String getSiteAndStoreFromSalesArea​(java.lang.String salesOrganization,
                                                             java.lang.String distributionChannel,
                                                             java.lang.String division)
        Description copied from interface: SapCpqQuoteService
        Method that fetches base store
        Specified by:
        getSiteAndStoreFromSalesArea in interface SapCpqQuoteService
        Parameters:
        salesOrganization - Sales Organization
        distributionChannel - Distribution Channel
        division - Division
        Returns:
        Base store name
      • setFlexibleSearchService

        public void setFlexibleSearchService​(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
      • getFlexibleSearchService

        public de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService()