Class DefaultPROSTravelAncillaryDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.prosservices.dao.impl.DefaultPROSTravelAncillaryDao
- All Implemented Interfaces:
PROSTravelAncillaryDao,de.hybris.platform.servicelayer.internal.dao.Dao
public class DefaultPROSTravelAncillaryDao
extends de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
implements PROSTravelAncillaryDao
Default implementation of
AncillaryProductModel DAO.-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAncillaryProducts(List<String> transportOfferingsCodes) Gets a list of ancillary products that have stock in hybris for the given transport offering codes.getATPCOAncillaryProductsByCatalogVersion(CatalogVersionModel catalogVersion) Gets all the available ATPCO services from the system having the specific catalog version.getBaggageProductByCatalogVersionAndCode(CatalogVersionModel catalogVersionModel, String code) Gets a list ancillary product of type ShoppingBaggageProductModel for the given catalog version and service key.getBaggageProductsByCatalogVersion(CatalogVersionModel catalogVersionModel) Gets a list ancillary products of type ShoppingBaggageProductModel for the given catalog version.getCarryOnAllowanceProductByCatalogVersionAndCode(CatalogVersionModel catalogVersionModel, String code) Gets all the carryOn product for the given catalog version and service keygetCarryOnAllowanceProducts(CatalogVersionModel catalogVersionModel) Gets all the carryOn products having the specific catalog versiongetNonATPCOAncillaryProductByCatalogVersionAndCode(CatalogVersionModel catalogVersion, String code) Gets all the available NonATPCO ancillary product for the given catalog version and service key.getPROSAncillaryProducts(List<String> prosReferences) Gets a list ancillary products of type PROSAncillaryProductModel for the given pros references.getPROSBaggageProducts(List<String> prosReferences) Gets a list ancillary products of type PROSBaggageProductModel for the given pros references.getPROSBaggageProductsByNames(List<String> names) Gets a list ancillary products of type PROSBaggageProductModel for the given pros names/types.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultPROSTravelAncillaryDao
public DefaultPROSTravelAncillaryDao()
-
-
Method Details
-
getAncillaryProducts
Description copied from interface:PROSTravelAncillaryDaoGets a list of ancillary products that have stock in hybris for the given transport offering codes.- Specified by:
getAncillaryProductsin interfacePROSTravelAncillaryDao- Parameters:
transportOfferingsCodes- the transport offering codes- Returns:
- the ancillary products
-
getPROSAncillaryProducts
Description copied from interface:PROSTravelAncillaryDaoGets a list ancillary products of type PROSAncillaryProductModel for the given pros references.- Specified by:
getPROSAncillaryProductsin interfacePROSTravelAncillaryDao- Parameters:
prosReferences- the pros references- Returns:
- the pros ancillary products
-
getPROSBaggageProducts
Description copied from interface:PROSTravelAncillaryDaoGets a list ancillary products of type PROSBaggageProductModel for the given pros references.- Specified by:
getPROSBaggageProductsin interfacePROSTravelAncillaryDao- Parameters:
prosReferences- the pros references- Returns:
- the pros baggage products
-
getATPCOAncillaryProductsByCatalogVersion
public List<ATPCOAncillaryProductModel> getATPCOAncillaryProductsByCatalogVersion(CatalogVersionModel catalogVersion) Description copied from interface:PROSTravelAncillaryDaoGets all the available ATPCO services from the system having the specific catalog version.- Specified by:
getATPCOAncillaryProductsByCatalogVersionin interfacePROSTravelAncillaryDao- Parameters:
catalogVersion- the catalogVersion- Returns:
- the list of ATPCO ancillary products
-
getCarryOnAllowanceProducts
public List<CarryOnAllowanceProductModel> getCarryOnAllowanceProducts(CatalogVersionModel catalogVersionModel) Description copied from interface:PROSTravelAncillaryDaoGets all the carryOn products having the specific catalog version- Specified by:
getCarryOnAllowanceProductsin interfacePROSTravelAncillaryDao- Parameters:
catalogVersionModel- the catalog version- Returns:
- the list of carryOn products
-
getBaggageProductsByCatalogVersion
public List<ShoppingBaggageProductModel> getBaggageProductsByCatalogVersion(CatalogVersionModel catalogVersionModel) Description copied from interface:PROSTravelAncillaryDaoGets a list ancillary products of type ShoppingBaggageProductModel for the given catalog version.- Specified by:
getBaggageProductsByCatalogVersionin interfacePROSTravelAncillaryDao- Parameters:
catalogVersionModel- the catalog version- Returns:
- the lis of baggage products
-
getNonATPCOAncillaryProductByCatalogVersionAndCode
public NonATPCOAncillaryProductModel getNonATPCOAncillaryProductByCatalogVersionAndCode(CatalogVersionModel catalogVersion, String code) Description copied from interface:PROSTravelAncillaryDaoGets all the available NonATPCO ancillary product for the given catalog version and service key.- Specified by:
getNonATPCOAncillaryProductByCatalogVersionAndCodein interfacePROSTravelAncillaryDao- Parameters:
catalogVersion- the catalogVersioncode- the code- Returns:
- the Non ATPCO ancillary product
-
getCarryOnAllowanceProductByCatalogVersionAndCode
public CarryOnAllowanceProductModel getCarryOnAllowanceProductByCatalogVersionAndCode(CatalogVersionModel catalogVersionModel, String code) Description copied from interface:PROSTravelAncillaryDaoGets all the carryOn product for the given catalog version and service key- Specified by:
getCarryOnAllowanceProductByCatalogVersionAndCodein interfacePROSTravelAncillaryDao- Parameters:
catalogVersionModel- the catalog versioncode- the code- Returns:
- the carryOn product
-
getBaggageProductByCatalogVersionAndCode
public ShoppingBaggageProductModel getBaggageProductByCatalogVersionAndCode(CatalogVersionModel catalogVersionModel, String code) Description copied from interface:PROSTravelAncillaryDaoGets a list ancillary product of type ShoppingBaggageProductModel for the given catalog version and service key.- Specified by:
getBaggageProductByCatalogVersionAndCodein interfacePROSTravelAncillaryDao- Parameters:
catalogVersionModel- the catalog versioncode- the code- Returns:
- the baggage product
-
getPROSBaggageProductsByNames
Description copied from interface:PROSTravelAncillaryDaoGets a list ancillary products of type PROSBaggageProductModel for the given pros names/types.- Specified by:
getPROSBaggageProductsByNamesin interfacePROSTravelAncillaryDao- Parameters:
names- the list of pros names/types- Returns:
- the pros baggage products
-