Class DefaultUnifiedUiAircraftInfoDao

java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<AircraftInfoModel>
de.hybris.platform.unifieduibackofficeservices.dao.impl.DefaultUnifiedUiAircraftInfoDao
All Implemented Interfaces:
de.hybris.platform.servicelayer.internal.dao.Dao, de.hybris.platform.servicelayer.internal.dao.GenericDao<AircraftInfoModel>, UnifiedUiAircraftInfoDao

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

    • DefaultUnifiedUiAircraftInfoDao

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

    • getAircraftInfoByCode

      public AircraftInfoModel getAircraftInfoByCode(String code) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException
      Find AircraftInfo model based on the provided code.
      Specified by:
      getAircraftInfoByCode in interface UnifiedUiAircraftInfoDao
      Parameters:
      code - the code
      Returns:
      the AircraftInfo
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception