Interface TravelBundleTemplateService
- All Superinterfaces:
de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService
- All Known Subinterfaces:
PROSTravelBundleTemplateService
- All Known Implementing Classes:
DefaultPROSTravelBundleTemplateService,DefaultStaticPackageBundleTemplateService,DefaultTravelBundleTemplateService
public interface TravelBundleTemplateService
extends de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService
Override the
BundleTemplateService to get the BundleTemplates for Travel Itineraries.-
Method Summary
Modifier and TypeMethodDescriptiongetBundleTemplateByCodeAndCatalogVersion(String bundleId, String catalogId) This method returns the BundleTemplateModel corresponding to the bundleIDgetBundleTemplateIdFromOrder(AbstractOrderModel abstractOrder, int originDestinationRefNumber) Returns the bundle template id for in the order against the originDestinationRefNumbergetBundleTemplateModelByEntryGroup(AbstractOrderEntryModel abstractOrderEntry) Gets the bundle template by entry group -> externalReferenceIdgetBundleTemplates(TravelRouteModel travelRouteModel, CabinClassModel cabinClassModel) Retrieves List of BundleTemplates for a given TravelRoute and requested cabin class.getBundleTemplates(TravelSectorModel travelSectorModel, CabinClassModel cabinClassModel) Retrieves List of BundleTemplates for a given TravelSector and requested cabin class.getBundleTemplates(TransportOfferingModel transportOfferingModel, CabinClassModel cabinClassModel) Retrieves List of BundleTemplates for a given TravelSector and requested cabin class.getDefaultBundleTemplates(CabinClassModel cabinClassModel) Retrieves default BundleTemplates for requested cabin class.Methods inherited from interface de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService
createBundleTree, getAllApprovedRootBundleTemplates, getAllRootBundleTemplates, getBundleEntryGroup, getBundleEntryGroup, getBundleTemplateForCode, getBundleTemplateForCode, getBundleTemplateName, getBundleTemplatesByProduct, getLeafComponents, getPositionInParent, getPreviousBundleTemplate, getRelativeBundleTemplate, getRootBundleTemplate, getSubsequentBundleTemplate, isAutoPickComponent, isBundleTemplateUsed
-
Method Details
-
getBundleTemplates
List<BundleTemplateModel> getBundleTemplates(TravelRouteModel travelRouteModel, CabinClassModel cabinClassModel) Retrieves List of BundleTemplates for a given TravelRoute and requested cabin class.- Parameters:
travelRouteModel- the travel route modelcabinClassModel- the cabin class model- Returns:
- List of BundleTemplates
-
getBundleTemplates
List<BundleTemplateModel> getBundleTemplates(TravelSectorModel travelSectorModel, CabinClassModel cabinClassModel) Retrieves List of BundleTemplates for a given TravelSector and requested cabin class.- Parameters:
travelSectorModel- the travel sector modelcabinClassModel- the cabin class model- Returns:
- List of BundleTemplates
-
getBundleTemplates
List<BundleTemplateModel> getBundleTemplates(TransportOfferingModel transportOfferingModel, CabinClassModel cabinClassModel) Retrieves List of BundleTemplates for a given TravelSector and requested cabin class.- Parameters:
transportOfferingModel- the transport offering modelcabinClassModel- the cabin class model- Returns:
- List of BundleTemplates
-
getDefaultBundleTemplates
Retrieves default BundleTemplates for requested cabin class.- Parameters:
cabinClassModel- the cabin class model- Returns:
- List of default BundleTemplates
-
getBundleTemplateIdFromOrder
String getBundleTemplateIdFromOrder(AbstractOrderModel abstractOrder, int originDestinationRefNumber) Returns the bundle template id for in the order against the originDestinationRefNumber- Parameters:
abstractOrder- abstractOrderoriginDestinationRefNumber- originDestinationRefNumber- Returns:
- bundle template id.
-
getBundleTemplateByCodeAndCatalogVersion
BundleTemplateModel getBundleTemplateByCodeAndCatalogVersion(String bundleId, String catalogId) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException, de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException This method returns the BundleTemplateModel corresponding to the bundleID- Parameters:
bundleId-catalogId-- Returns:
- Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundExceptionde.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException
-
getBundleTemplateModelByEntryGroup
Gets the bundle template by entry group -> externalReferenceId- Parameters:
abstractOrderEntry- the order entry- Returns:
- the bundle template
-