Class DefaultSalesAreaService
java.lang.Object
de.hybris.platform.sap.sapmodel.services.impl.DefaultSalesAreaService
- All Implemented Interfaces:
SalesAreaService
Default sales area service implementation for accessing common distribution channels and divisions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.store.services.BaseStoreServiceprotected StringgetCommonDistributionChannelConditions(String salesOrganization, String distributionChannel) Read common distribution channel for condition maintenanceprotected StringgetCommonDistributionChannelCustMaster(String salesOrganization, String distributionChannel) Read common distribution channel for customer and material masterprotected StringgetCommonDivisionConditions(String salesOrganization, String division) Read common division for condition maintenanceprotected StringgetCommonDivisionCustMaster(String salesOrganization, String division) Read common division for customer and material masterprotected ReferenceDivisionMappingModelgetCommonDivsion(String salesOrganization, String division) protected de.hybris.platform.servicelayer.search.FlexibleSearchServicevoidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) voidsetFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-
Constructor Details
-
DefaultSalesAreaService
public DefaultSalesAreaService()
-
-
Method Details
-
getSalesOrganization
- Specified by:
getSalesOrganizationin interfaceSalesAreaService- Returns:
- Current sales organization. No bundling available, it is the same one for order creation or master data maintenance.
-
getDistributionChannel
- Specified by:
getDistributionChannelin interfaceSalesAreaService- Returns:
- Current distribution channel for order creation. The channel maintained in SAP Configuration
-
getDistributionChannelForConditions
- Specified by:
getDistributionChannelForConditionsin interfaceSalesAreaService- Returns:
- Current channel for condition maintenance
-
getDistributionChannelForCustomerMaterial
- Specified by:
getDistributionChannelForCustomerMaterialin interfaceSalesAreaService- Returns:
- Current channel for customer or material master access.
-
getDivision
- Specified by:
getDivisionin interfaceSalesAreaService- Returns:
- Current division for order creation. The division maintained in SAP Configuration
-
getDivisionForConditions
- Specified by:
getDivisionForConditionsin interfaceSalesAreaService- Returns:
- Current division for condition maintenance
-
getDivisionForCustomerMaterial
- Specified by:
getDivisionForCustomerMaterialin interfaceSalesAreaService- Returns:
- Current division for customer or material master access
-
getCommonDistributionChannelConditions
protected String getCommonDistributionChannelConditions(String salesOrganization, String distributionChannel) Read common distribution channel for condition maintenance- Parameters:
salesOrganization-distributionChannel-- Returns:
- The common channel for condition maintenance
-
getCommonDistributionChannelCustMaster
protected String getCommonDistributionChannelCustMaster(String salesOrganization, String distributionChannel) Read common distribution channel for customer and material master- Parameters:
salesOrganization-distributionChannel-- Returns:
- The common channel for customer and material master
-
getCommonDivisionCustMaster
Read common division for customer and material master- Parameters:
salesOrganization-division-- Returns:
- Common division
-
getCommonDivisionConditions
Read common division for condition maintenance- Parameters:
salesOrganization-division-- Returns:
- Common division
-
getCommonDivsion
- Parameters:
salesOrganization-division-- Returns:
-
getBaseStoreService
protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService() -
setBaseStoreService
public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) -
getFlexibleSearchService
protected de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService() -
setFlexibleSearchService
public void setFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-