Class DefaultSapQuoteService
- java.lang.Object
-
- com.sap.hybris.sapquoteintegration.service.impl.DefaultSapQuoteService
-
- All Implemented Interfaces:
SapQuoteService
public class DefaultSapQuoteService extends java.lang.Object implements SapQuoteService
Default implementation.
-
-
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 DefaultSapQuoteService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuoteModelgetCurrentQuoteForExternalQuoteId(java.lang.String externalQuoteId)FlexibleSearchServicegetFlexibleSearchService()java.lang.StringgetSiteAndStoreFromSalesArea(java.lang.String salesOrganization, java.lang.String distributionChannel, java.lang.String division)voidsetFlexibleSearchService(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
-
getCurrentQuoteForExternalQuoteId
public QuoteModel getCurrentQuoteForExternalQuoteId(java.lang.String externalQuoteId)
- Specified by:
getCurrentQuoteForExternalQuoteIdin interfaceSapQuoteService
-
getSiteAndStoreFromSalesArea
public java.lang.String getSiteAndStoreFromSalesArea(java.lang.String salesOrganization, java.lang.String distributionChannel, java.lang.String division)- Specified by:
getSiteAndStoreFromSalesAreain interfaceSapQuoteService
-
getFlexibleSearchService
public FlexibleSearchService getFlexibleSearchService()
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
-