Class BaBillingCycleSpecificationController
java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBaseController
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBillingCycleSpecificationController
- All Implemented Interfaces:
BillingCycleSpecificationApi
@Controller
public class BaBillingCycleSpecificationController
extends BaBaseController
implements BillingCycleSpecificationApi
Default implementation of controller for
BillingCycleSpecificationApi.- Since:
- 2302
-
Constructor Summary
ConstructorsConstructorDescriptionBaBillingCycleSpecificationController(javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<BillingCycleSpecification>createBillingCycleSpecification(@Valid BillingCycleSpecification billingCycleSpecification) org.springframework.http.ResponseEntity<Void>protected BaPaginationServiceprotected TuaBillingCycleSpecificationServiceprotected org.springframework.transaction.support.TransactionTemplateorg.springframework.http.ResponseEntity<List<BillingCycleSpecification>>listBillingCycleSpecification(@Valid String fields, @Valid Integer offset, @Valid Integer limit) org.springframework.http.ResponseEntity<BillingCycleSpecification>patchBillingCycleSpecification(String id, @Valid BillingCycleSpecification billingCycleSpecification) org.springframework.http.ResponseEntity<BillingCycleSpecification>retrieveBillingCycleSpecification(String id, @Valid String fields) Methods inherited from class de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBaseController
addDefaultFields, filter, getDataMapper, getI18nService, getMessageSource, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, getUnsuccessfulResponse, handleInternalError, handleModelNotFoundException, hasRole, init, sanitize, sanitizeQueryString, validate
-
Constructor Details
-
BaBillingCycleSpecificationController
public BaBillingCycleSpecificationController(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
listBillingCycleSpecification
@RequestMapping(value="/billingCycleSpecification", produces="application/json;charset=utf-8", method=GET) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<List<BillingCycleSpecification>> listBillingCycleSpecification(@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) - Specified by:
listBillingCycleSpecificationin interfaceBillingCycleSpecificationApi
-
retrieveBillingCycleSpecification
@RequestMapping(value="/billingCycleSpecification/{id}", produces="application/json;charset=utf-8", method=GET) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillingCycleSpecification> retrieveBillingCycleSpecification(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields) - Specified by:
retrieveBillingCycleSpecificationin interfaceBillingCycleSpecificationApi
-
createBillingCycleSpecification
@RequestMapping(value="/billingCycleSpecification", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillingCycleSpecification> createBillingCycleSpecification(@Valid @RequestBody @Valid BillingCycleSpecification billingCycleSpecification) - Specified by:
createBillingCycleSpecificationin interfaceBillingCycleSpecificationApi
-
deleteBillingCycleSpecification
@RequestMapping(value="/billingCycleSpecification/{id:.+}", produces="application/json;charset=utf-8", method=DELETE) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Void> deleteBillingCycleSpecification(@PathVariable("id") String id) - Specified by:
deleteBillingCycleSpecificationin interfaceBillingCycleSpecificationApi
-
patchBillingCycleSpecification
@RequestMapping(value="/billingCycleSpecification/{id}", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=PATCH) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillingCycleSpecification> patchBillingCycleSpecification(@PathVariable("id") String id, @Valid @RequestBody @Valid BillingCycleSpecification billingCycleSpecification) - Specified by:
patchBillingCycleSpecificationin interfaceBillingCycleSpecificationApi
-
getTuaBillingCycleSpecificationService
-
getBaCreateBillingCycleSpecificationValidator
protected BaCreateBillingCycleSpecificationValidator getBaCreateBillingCycleSpecificationValidator() -
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate() -
getBaPaginationService
-