Class SAPDefaultUnitService

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

    public class SAPDefaultUnitService
    extends DefaultUnitService
    implements SAPUnitService
    Default implementation of SAPUnitService interface to provide business logic to access UnitModel information
    See Also:
    Serialized Form
    • 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)