Class TmaProductOfferingPriceApiController
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v3.controller.TmaProductOfferingPriceApiController
- All Implemented Interfaces:
ProductOfferingPriceApi
@Controller
public class TmaProductOfferingPriceApiController
extends TmaBaseController
implements ProductOfferingPriceApi
Default implementation of
ProductOfferingPriceApi- Since:
- 2102
-
Constructor Summary
ConstructorsConstructorDescriptionTmaProductOfferingPriceApiController(javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ProductOfferingPrice>createProductOfferingPrice(@Valid ProductOfferingPrice productOfferingPrice, @Valid String baseSiteId, @Valid String catalogId, @Valid String catalogVersion) org.springframework.http.ResponseEntity<Void>deleteProductOfferingPrice(String id, @Valid String baseSiteId, @Valid String catalogId, @Valid String catalogVersion) protected TmaProductOfferingPriceCreateValidatorprotected TmaProductOfferingPriceFacadeprotected org.springframework.transaction.support.TransactionTemplateorg.springframework.http.ResponseEntity<List<ProductOfferingPrice>>listProductOfferingPrice(@Valid String baseSiteId, @Valid String catalogId, @Valid String catalogVersion, @Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String name, @Valid String lifecycleStatus, @Valid String lastUpdate, @Valid Boolean isBundle, @Valid String priceType) org.springframework.http.ResponseEntity<ProductOfferingPrice>patchProductOfferingPrice(String id, @Valid ProductOfferingPrice productOfferingPrice, @Valid String baseSiteId, @Valid String catalogId, @Valid String catalogVersion) org.springframework.http.ResponseEntity<ProductOfferingPrice>retrieveProductOfferingPrice(String id, @Valid String fields, @Valid String baseSiteId, @Valid String catalogId, @Valid String catalogVersion) Methods inherited from class de.hybris.platform.b2ctelcotmfwebservices.v3.controller.TmaBaseController
addDefaultFields, encodeUrl, filter, getAuthentication, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getRequestUrl, getTmaCatalogVersionFacade, getUnsuccessfulResponse, getUnsuccessfulResponse, getUnsuccessfulResponseWithErrorRepresentation, getUser, handleInternalError, handleModelNotFoundException, handleTmaApiErrorInternal, init, sanitize, sanitizeQueryString, setCatalogVersion
-
Constructor Details
-
TmaProductOfferingPriceApiController
public TmaProductOfferingPriceApiController(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
listProductOfferingPrice
@RequestMapping(value="/productOfferingPrice", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<ProductOfferingPrice>> listProductOfferingPrice(@Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId, @Valid @RequestParam(value="catalogId",required=false) @Valid String catalogId, @Valid @RequestParam(value="catalogVersion",required=false) @Valid String catalogVersion, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="offset",required=false) @Valid Integer offset, @Valid @RequestParam(value="limit",required=false) @Valid Integer limit, @Valid @RequestParam(value="name",required=false) @Valid String name, @Valid @RequestParam(value="lifecycleStatus",required=false) @Valid String lifecycleStatus, @Valid @RequestParam(value="lastUpdate",required=false) @Valid String lastUpdate, @Valid @RequestParam(value="isBundle",required=false) @Valid Boolean isBundle, @Valid @RequestParam(value="priceType",required=false) @Valid String priceType) - Specified by:
listProductOfferingPricein interfaceProductOfferingPriceApi
-
retrieveProductOfferingPrice
@RequestMapping(value="/productOfferingPrice/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<ProductOfferingPrice> retrieveProductOfferingPrice(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId, @Valid @RequestParam(value="catalogId",required=false) @Valid String catalogId, @Valid @RequestParam(value="catalogVersion",required=false) @Valid String catalogVersion) - Specified by:
retrieveProductOfferingPricein interfaceProductOfferingPriceApi
-
createProductOfferingPrice
@Secured("ROLE_TRUSTED_CLIENT") @RequestMapping(value="/productOfferingPrice", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<ProductOfferingPrice> createProductOfferingPrice(@Valid @RequestBody @Valid ProductOfferingPrice productOfferingPrice, @Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId, @Valid @RequestParam(value="catalogId",required=false) @Valid String catalogId, @Valid @RequestParam(value="catalogVersion",required=false) @Valid String catalogVersion) - Specified by:
createProductOfferingPricein interfaceProductOfferingPriceApi
-
deleteProductOfferingPrice
@Secured("ROLE_TRUSTED_CLIENT") @RequestMapping(value="/productOfferingPrice/{id}", produces="application/json;charset=utf-8", method=DELETE) public org.springframework.http.ResponseEntity<Void> deleteProductOfferingPrice(@PathVariable("id") String id, @Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId, @Valid @RequestParam(value="catalogId",required=false) @Valid String catalogId, @Valid @RequestParam(value="catalogVersion",required=false) @Valid String catalogVersion) - Specified by:
deleteProductOfferingPricein interfaceProductOfferingPriceApi
-
patchProductOfferingPrice
@Secured("ROLE_TRUSTED_CLIENT") @RequestMapping(value="/productOfferingPrice/{id}", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=PATCH) public org.springframework.http.ResponseEntity<ProductOfferingPrice> patchProductOfferingPrice(@PathVariable("id") String id, @Valid @RequestBody @Valid ProductOfferingPrice productOfferingPrice, @Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId, @Valid @RequestParam(value="catalogId",required=false) @Valid String catalogId, @Valid @RequestParam(value="catalogVersion",required=false) @Valid String catalogVersion) - Specified by:
patchProductOfferingPricein interfaceProductOfferingPriceApi
-
getTmaProductOfferingPriceFacade
-
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate() -
getTmaProductOfferingPriceCreateValidator
-