Class DefaultPROSTravelAncillaryService
java.lang.Object
de.hybris.platform.prosservices.services.impl.DefaultPROSTravelAncillaryService
- All Implemented Interfaces:
PROSTravelAncillaryService
Retrieves the PROS and hybris ancillary products.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAncillaryProducts(List<String> transportOfferingCodes) Gets a list of ancillary products that have stock in hybris for the given transport offering codes.getATPCOAncillaryProductsByCatalogVersion(CatalogVersionModel catalogVersion) Gets all the ATPCO services from the system having the specific catalog version.getBaggageProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersionModel, String serviceKey) 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.getCarryOnAllowanceProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersionModel, String serviceKey) Gets all the carryOn product for the given catalog version and service keygetCarryOnAllowanceProducts(CatalogVersionModel catalogVersionModel) Gets all the carryOn products having the specific catalog versiongetNonATPCOAncillaryProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersion, String serviceKey) 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.protected PROSTravelAncillaryDaoGets pros travel ancillary dao.voidsetProsTravelAncillaryDao(PROSTravelAncillaryDao prosTravelAncillaryDao) Sets pros travel ancillary dao.
-
Constructor Details
-
DefaultPROSTravelAncillaryService
public DefaultPROSTravelAncillaryService()
-
-
Method Details
-
getAncillaryProducts
Description copied from interface:PROSTravelAncillaryServiceGets a list of ancillary products that have stock in hybris for the given transport offering codes.- Specified by:
getAncillaryProductsin interfacePROSTravelAncillaryService- Parameters:
transportOfferingCodes- the transport offering codes- Returns:
- the ancillary products
-
getPROSAncillaryProducts
Description copied from interface:PROSTravelAncillaryServiceGets a list ancillary products of type PROSAncillaryProductModel for the given pros references.- Specified by:
getPROSAncillaryProductsin interfacePROSTravelAncillaryService- Parameters:
prosReferences- the pros references- Returns:
- the pros ancillary products
-
getPROSBaggageProducts
Description copied from interface:PROSTravelAncillaryServiceGets a list ancillary products of type PROSBaggageProductModel for the given pros references.- Specified by:
getPROSBaggageProductsin interfacePROSTravelAncillaryService- Parameters:
prosReferences- the pros references- Returns:
- the pros baggage products
-
getATPCOAncillaryProductsByCatalogVersion
public List<ATPCOAncillaryProductModel> getATPCOAncillaryProductsByCatalogVersion(CatalogVersionModel catalogVersion) Description copied from interface:PROSTravelAncillaryServiceGets all the ATPCO services from the system having the specific catalog version.- Specified by:
getATPCOAncillaryProductsByCatalogVersionin interfacePROSTravelAncillaryService- Parameters:
catalogVersion- the catalogVersion- Returns:
- the list of ATPCO ancillary products
-
getCarryOnAllowanceProducts
public List<CarryOnAllowanceProductModel> getCarryOnAllowanceProducts(CatalogVersionModel catalogVersionModel) Description copied from interface:PROSTravelAncillaryServiceGets all the carryOn products having the specific catalog version- Specified by:
getCarryOnAllowanceProductsin interfacePROSTravelAncillaryService- Parameters:
catalogVersionModel- the catalog version- Returns:
- the list of carryOn products
-
getBaggageProductsByCatalogVersion
public List<ShoppingBaggageProductModel> getBaggageProductsByCatalogVersion(CatalogVersionModel catalogVersionModel) Description copied from interface:PROSTravelAncillaryServiceGets a list ancillary products of type ShoppingBaggageProductModel for the given catalog version.- Specified by:
getBaggageProductsByCatalogVersionin interfacePROSTravelAncillaryService- Parameters:
catalogVersionModel- the catalog version- Returns:
- the lis of baggage products
-
getNonATPCOAncillaryProductByCatalogVersionAndServiceKey
public NonATPCOAncillaryProductModel getNonATPCOAncillaryProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersion, String serviceKey) Description copied from interface:PROSTravelAncillaryServiceGets all the available NonATPCO ancillary product for the given catalog version and service key.- Specified by:
getNonATPCOAncillaryProductByCatalogVersionAndServiceKeyin interfacePROSTravelAncillaryService- Parameters:
catalogVersion- the catalogVersionserviceKey- the service key- Returns:
- the Non ATPCO ancillary product
-
getCarryOnAllowanceProductByCatalogVersionAndServiceKey
public CarryOnAllowanceProductModel getCarryOnAllowanceProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersionModel, String serviceKey) Description copied from interface:PROSTravelAncillaryServiceGets all the carryOn product for the given catalog version and service key- Specified by:
getCarryOnAllowanceProductByCatalogVersionAndServiceKeyin interfacePROSTravelAncillaryService- Parameters:
catalogVersionModel- the catalog versionserviceKey- the service key- Returns:
- the carryOn product
-
getBaggageProductByCatalogVersionAndServiceKey
public ShoppingBaggageProductModel getBaggageProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersionModel, String serviceKey) Description copied from interface:PROSTravelAncillaryServiceGets a list ancillary product of type ShoppingBaggageProductModel for the given catalog version and service key.- Specified by:
getBaggageProductByCatalogVersionAndServiceKeyin interfacePROSTravelAncillaryService- Parameters:
catalogVersionModel- the catalog versionserviceKey- the service key- Returns:
- the baggage product
-
getPROSBaggageProductsByNames
Description copied from interface:PROSTravelAncillaryServiceGets a list ancillary products of type PROSBaggageProductModel for the given pros names/types.- Specified by:
getPROSBaggageProductsByNamesin interfacePROSTravelAncillaryService- Parameters:
names- the list of pros names/types- Returns:
- the pros baggage products
-
getProsTravelAncillaryDao
Gets pros travel ancillary dao.- Returns:
- the pros travel ancillary dao
-
setProsTravelAncillaryDao
Sets pros travel ancillary dao.- Parameters:
prosTravelAncillaryDao- the pros travel ancillary dao
-