Class DefaultC4CCpiQuoteService
- java.lang.Object
-
- com.sap.hybris.c4ccpiquote.service.impl.DefaultC4CCpiQuoteService
-
- All Implemented Interfaces:
C4CCpiQuoteService
public class DefaultC4CCpiQuoteService extends java.lang.Object implements C4CCpiQuoteService
Default Implementation for C4CCpiQuoteService
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringORDER_BY_VERSION_DESCprotected static java.lang.StringQUOTES_QUERYprotected static java.lang.StringSALES_AREA_QUERYprotected static java.lang.StringSALES_AREA_WHERE_CLAUSEprotected static java.lang.StringWHERE_CODE_CLAUSE
-
Constructor Summary
Constructors Constructor Description DefaultC4CCpiQuoteService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.hybris.platform.servicelayer.search.FlexibleSearchServicegetFlexibleSearchService()java.lang.StringgetSiteAndStoreFromSalesArea(java.lang.String salesOrganization, java.lang.String distributionChannel, java.lang.String division)method to get site and store information from commerce databasevoidsetFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-
-
-
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
-
QUOTES_QUERY
protected static final java.lang.String QUOTES_QUERY
- 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
-
-
Method Detail
-
getSiteAndStoreFromSalesArea
public java.lang.String getSiteAndStoreFromSalesArea(java.lang.String salesOrganization, java.lang.String distributionChannel, java.lang.String division)Description copied from interface:C4CCpiQuoteServicemethod to get site and store information from commerce database- Specified by:
getSiteAndStoreFromSalesAreain interfaceC4CCpiQuoteService- Parameters:
salesOrganization- parameter as a StringdistributionChannel- parameter as a Stringdivision- parameter as a String- Returns:
- Base site id as a String
-
getFlexibleSearchService
public de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService()
-
setFlexibleSearchService
public void setFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-
-