Class DefaultUnifiedUiPassengerTypeService

java.lang.Object
de.hybris.platform.unifieduibackofficeservices.service.impl.DefaultUnifiedUiPassengerTypeService
All Implemented Interfaces:
de.hybris.platform.servicelayer.internal.dao.Dao, UnifiedUiPassengerTypeService

public class DefaultUnifiedUiPassengerTypeService extends Object implements UnifiedUiPassengerTypeService
Class is responsible for providing concrete implementation of the UnifiedUiPassengerTypeService interface. The class uses the unifiedUiPassengerTypeDao class to query the database and return TravelProviderModel type.
  • Constructor Details

    • DefaultUnifiedUiPassengerTypeService

      public DefaultUnifiedUiPassengerTypeService()
  • Method Details

    • getPassengerTypeByPTCRef

      public PassengerTypeModel getPassengerTypeByPTCRef(String ptcRef) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException
      Returns the PassengerType in the system identified by the given ptcRef.
      Specified by:
      getPassengerTypeByPTCRef in interface UnifiedUiPassengerTypeService
      Parameters:
      ptcRef - the ptcRef
      Returns:
      the PassengerType
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception
    • getUnifiedUiPassengerTypeDao

      protected UnifiedUiPassengerTypeDao getUnifiedUiPassengerTypeDao()
      Returns the unifiedUiPassengerTypeDao
      Returns:
      the unifiedUiPassengerTypeDao
    • setUnifiedUiPassengerTypeDao

      public void setUnifiedUiPassengerTypeDao(UnifiedUiPassengerTypeDao unifiedUiPassengerTypeDao)
      Sets the unifiedUiPassengerTypeDao
      Parameters:
      unifiedUiPassengerTypeDao - the unifiedUiPassengerTypeDao