Class DefaultSalesAreaService

java.lang.Object
de.hybris.platform.sap.sapmodel.services.impl.DefaultSalesAreaService
All Implemented Interfaces:
SalesAreaService

public class DefaultSalesAreaService extends Object implements SalesAreaService
Default sales area service implementation for accessing common distribution channels and divisions.
  • Constructor Details

    • DefaultSalesAreaService

      public DefaultSalesAreaService()
  • Method Details

    • getSalesOrganization

      public String getSalesOrganization()
      Specified by:
      getSalesOrganization in interface SalesAreaService
      Returns:
      Current sales organization. No bundling available, it is the same one for order creation or master data maintenance.
    • getDistributionChannel

      public String getDistributionChannel()
      Specified by:
      getDistributionChannel in interface SalesAreaService
      Returns:
      Current distribution channel for order creation. The channel maintained in SAP Configuration
    • getDistributionChannelForConditions

      public String getDistributionChannelForConditions()
      Specified by:
      getDistributionChannelForConditions in interface SalesAreaService
      Returns:
      Current channel for condition maintenance
    • getDistributionChannelForCustomerMaterial

      public String getDistributionChannelForCustomerMaterial()
      Specified by:
      getDistributionChannelForCustomerMaterial in interface SalesAreaService
      Returns:
      Current channel for customer or material master access.
    • getDivision

      public String getDivision()
      Specified by:
      getDivision in interface SalesAreaService
      Returns:
      Current division for order creation. The division maintained in SAP Configuration
    • getDivisionForConditions

      public String getDivisionForConditions()
      Specified by:
      getDivisionForConditions in interface SalesAreaService
      Returns:
      Current division for condition maintenance
    • getDivisionForCustomerMaterial

      public String getDivisionForCustomerMaterial()
      Specified by:
      getDivisionForCustomerMaterial in interface SalesAreaService
      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

      protected String getCommonDivisionCustMaster(String salesOrganization, String division)
      Read common division for customer and material master
      Parameters:
      salesOrganization -
      division -
      Returns:
      Common division
    • getCommonDivisionConditions

      protected String getCommonDivisionConditions(String salesOrganization, String division)
      Read common division for condition maintenance
      Parameters:
      salesOrganization -
      division -
      Returns:
      Common division
    • getCommonDivsion

      protected ReferenceDivisionMappingModel getCommonDivsion(String salesOrganization, String division)
      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)