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 Summary
ConstructorsConstructorDescriptionDefaultUnifiedUiAircraftInfoDao(String typecode) Instantiates a new Default UnifiedUiAircraftInfo dao. -
Method Summary
Modifier and TypeMethodDescriptiongetAircraftInfoByCode(String code) Find AircraftInfo model based on the provided code.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Constructor Details
-
DefaultUnifiedUiAircraftInfoDao
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:
getAircraftInfoByCodein interfaceUnifiedUiAircraftInfoDao- Parameters:
code- the code- Returns:
- the AircraftInfo
- Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException- the model not found exception
-