Class AirlineBundlesController
java.lang.Object
de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBaseController
de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBundlesController
@Controller
@RequestMapping("/{baseSiteId}/catalogs/{catalogId}/fareBundles")
public class AirlineBundlesController
extends AirlineBaseController
Web Service Airline Bundles Controller for services related to the bundle.
-
Field Summary
Fields inherited from class de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBaseController
BASIC_FIELD_SET, DEFAULT_CURRENT_PAGE, DEFAULT_PAGE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<TravelBundleTemplate>getTransportBundleById(String bundleId, String catalogId) This method gets the Bundle for given Bundle IdMethods inherited from class de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBaseController
createPaginationData, getAbsoluteLocationURL, getDataMapper, getErrorCode, getErrorCodeResolver, handleAccessDeniedException, handleMissingRequestHeaderException, handleTravelModelNotFoundException, sanitize, validate, validate
-
Constructor Details
-
AirlineBundlesController
public AirlineBundlesController()
-
-
Method Details
-
getTransportBundleById
@Secured({"ROLE_CLIENT","ROLE_GUEST","ROLE_CUSTOMERGROUP","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @RequestMapping(value="/{bundleId}", method=GET) @ResponseBody public org.springframework.http.ResponseEntity<TravelBundleTemplate> getTransportBundleById(@PathVariable String bundleId, @PathVariable String catalogId) This method gets the Bundle for given Bundle Id- Parameters:
bundleId- the bundle idcatalogId- the catalog id- Returns:
- the TravelBundleTemplateWsDTO
-