Class SAPDefaultUnitService

  • All Implemented Interfaces:
    de.hybris.platform.product.UnitService, SAPUnitService, java.io.Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class SAPDefaultUnitService
    extends de.hybris.platform.product.impl.DefaultUnitService
    implements SAPUnitService
    Default implementation of SAPUnitService interface to provide business logic to access UnitModel information
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        de.hybris.platform.servicelayer.internal.service.AbstractService.SerializableDTO
    • Field Summary

      • Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService

        modelService, sessionService, txManager
      • Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        tenant
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected SAPUnitDao getSapUnitDao()  
      UnitModel getUnitForSAPCode​(java.lang.String code)
      Get UnitModel for a given product SAPCode
      void setSapUnitDao​(SAPUnitDao sapUnitDao)  
      • Methods inherited from class de.hybris.platform.product.impl.DefaultUnitService

        getAllUnits, getAllUnitTypes, getUnitForCode, getUnitsForUnitType, setUnitDao
      • Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService

        getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManager
      • Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.hybris.platform.product.UnitService

        getAllUnits, getAllUnitTypes, getUnitForCode, getUnitsForUnitType
    • Constructor Detail

      • SAPDefaultUnitService

        public SAPDefaultUnitService()
    • Method Detail

      • getUnitForSAPCode

        public UnitModel getUnitForSAPCode​(java.lang.String code)
        Description copied from interface: SAPUnitService
        Get UnitModel for a given product SAPCode
        Specified by:
        getUnitForSAPCode in interface SAPUnitService
        Parameters:
        code - String representation of SAPCode
        Returns:
        Returns UnitModel object associated with provided SAPCode
      • getSapUnitDao

        protected SAPUnitDao getSapUnitDao()
      • setSapUnitDao

        public void setSapUnitDao​(SAPUnitDao sapUnitDao)