Class DefaultUnifiedUiPassengerTypeDao

java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<PassengerTypeModel>
de.hybris.platform.unifieduibackofficeservices.dao.impl.DefaultUnifiedUiPassengerTypeDao
All Implemented Interfaces:
de.hybris.platform.servicelayer.internal.dao.Dao, de.hybris.platform.servicelayer.internal.dao.GenericDao<PassengerTypeModel>, UnifiedUiPassengerTypeDao

public class DefaultUnifiedUiPassengerTypeDao extends de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<PassengerTypeModel> implements UnifiedUiPassengerTypeDao
Class is responsible for providing concrete implementation of the UnifiedUiPassengerTypeDao interface. The class uses the flexibleSearchService to query the database and return PassengerTypeModel type.
  • Constructor Details

    • DefaultUnifiedUiPassengerTypeDao

      public DefaultUnifiedUiPassengerTypeDao(String typecode)
      Instantiates a new Default UnifiedUiPassengerType dao.
      Parameters:
      typecode - the typecode
  • Method Details

    • getPassengerTypeByPTCRef

      public PassengerTypeModel getPassengerTypeByPTCRef(String ptcRef) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException
      Find PassengerType model based on the provided ptcRef.
      Specified by:
      getPassengerTypeByPTCRef in interface UnifiedUiPassengerTypeDao
      Parameters:
      ptcRef - the ptcRef
      Returns:
      the PassengerType
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception