Interface TravelBundleTemplateFacade
- All Known Subinterfaces:
ShoppingTravelBundleTemplateFacade
- All Known Implementing Classes:
DefaultShoppingTravelBundleTemplateFacade,DefaultTravelBundleTemplateFacade
public interface TravelBundleTemplateFacade
Facade for upgrade bundle section
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateUpgradeItineraryPricingInfoTotalPriceData(BigDecimal selectedItineraryPricingInfoData, ItineraryPricingInfoData availableUpgradeItineraryPricingInfoData) Method to update only the total price for the ItineraryPricingInfo respective to selected ItineraryPricingInfo.Gets the entry group from an entry modelgetBundleTemplateByCodeAndCatalogVersion(String bundleTemplateId, String catalogId) Returns the bundle template for a given bundle id and cataloggetBundleTemplateByExternalReferenceId(String externalReferenceId) Gets the bundle template from entrygroup#ExternalReferenceIdgetMasterBundleTemplateId(String bundleTemplateId) Returns the master bundle template id of the specified template idgetParentBundleTemplateIdByExternalReferenceId(String externalReferenceId) Gets the parent bundle template from entrygroup -> ExternalReferenceIdgetSelectedItineraryPricingInfoData(PricedItineraryData pricedItineraryData) finds the selected itinerary pricing info data from the list using the selected attributeintgetSequenceNumber(String bundleType) used to find out the sequence number of any bundlegetTransportBundleById(String bundleTemplateId, String catalogId) Returns the transport bundle template for a given bundle id and catalog.
-
Method Details
-
getSelectedItineraryPricingInfoData
ItineraryPricingInfoData getSelectedItineraryPricingInfoData(PricedItineraryData pricedItineraryData) finds the selected itinerary pricing info data from the list using the selected attribute- Parameters:
pricedItineraryData- the priced itinerary data- Returns:
- selected itinerary pricing info data
-
getSequenceNumber
used to find out the sequence number of any bundle- Parameters:
bundleType- the bundle type- Returns:
- sequence number
-
createUpgradeItineraryPricingInfoTotalPriceData
void createUpgradeItineraryPricingInfoTotalPriceData(BigDecimal selectedItineraryPricingInfoData, ItineraryPricingInfoData availableUpgradeItineraryPricingInfoData) Method to update only the total price for the ItineraryPricingInfo respective to selected ItineraryPricingInfo.- Parameters:
selectedItineraryPricingInfoData- the ItineraryPricingInfoavailableUpgradeItineraryPricingInfoData- availableUpgradeItineraryPricingInfoData
-
getMasterBundleTemplateId
Returns the master bundle template id of the specified template id- Parameters:
bundleTemplateId- the bundle template id- Returns:
- master bundle template id
-
getBundleTemplateByCodeAndCatalogVersion
TravelBundleTemplateData getBundleTemplateByCodeAndCatalogVersion(String bundleTemplateId, String catalogId) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException, de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException Returns the bundle template for a given bundle id and catalog- Parameters:
bundleTemplateId- the bundle template idcatalogId- the catalog id- Returns:
- bundle template by code and catalog version
- Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException- the model not found exceptionde.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException- the ambiguous identifier exception
-
getBundleEntryGroup
Gets the entry group from an entry model- Parameters:
entry- the entry model- Returns:
- the entryGroup Model
-
getBundleTemplateByExternalReferenceId
Gets the bundle template from entrygroup#ExternalReferenceId- Parameters:
externalReferenceId- the external Reference Id- Returns:
- the bundle template model
-
getParentBundleTemplateIdByExternalReferenceId
Gets the parent bundle template from entrygroup -> ExternalReferenceId- Parameters:
externalReferenceId- the external Reference Id- Returns:
- the parent bundle template model
-
getTransportBundleById
TravelBundleTemplateData getTransportBundleById(String bundleTemplateId, String catalogId) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException, de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException Returns the transport bundle template for a given bundle id and catalog.- Parameters:
bundleTemplateId- the bundle template idcatalogId- the catalog id- Returns:
- bundle template by code and catalog version
- Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException- the model not found exceptionde.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException- the ambiguous identifier exception
-