Class AgrAgreementsController

java.lang.Object
de.hybris.platform.agreementtmfwebservices.v1.controllers.AgrBaseController
de.hybris.platform.agreementtmfwebservices.v1.controllers.AgrAgreementsController
All Implemented Interfaces:
AgreementApi

@Controller @Deprecated(since="2208") public class AgrAgreementsController extends AgrBaseController implements AgreementApi
Deprecated.
2208
Controller exposing operations related to agreements.
  • Constructor Details

    • AgrAgreementsController

      @Autowired public AgrAgreementsController(javax.servlet.http.HttpServletRequest request)
      Deprecated.
  • Method Details

    • retrieveAgreement

      @RequestMapping(value="/agreement/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<Agreement> retrieveAgreement(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields)
      Deprecated.
      Specified by:
      retrieveAgreement in interface AgreementApi
    • createAgreement

      @RequestMapping(value="/agreement", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Agreement> createAgreement(@Valid @RequestBody @Valid Agreement agreement)
      Deprecated.
      Specified by:
      createAgreement in interface AgreementApi
    • deleteAgreement

      @RequestMapping(value="/agreement/{id}", produces="application/json;charset=utf-8", method=DELETE) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Void> deleteAgreement(@PathVariable("id") String id)
      Deprecated.
      Specified by:
      deleteAgreement in interface AgreementApi
    • listAgreement

      @RequestMapping(value="/agreement", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<Agreement>> listAgreement(@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="status",required=false) @Valid String status)
      Deprecated.
      Specified by:
      listAgreement in interface AgreementApi
    • patchAgreement

      @RequestMapping(value="/agreement/{id}", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=PATCH) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Agreement> patchAgreement(@PathVariable("id") String id, @Valid @RequestBody @Valid Agreement agreement)
      Deprecated.
      Specified by:
      patchAgreement in interface AgreementApi
    • getAgreementService

      protected AgrAgreementsService getAgreementService()
      Deprecated.
    • getModelService

      protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      Deprecated.
    • getAgreementGenericService

      protected AgrGenericService getAgreementGenericService()
      Deprecated.
    • getAgrAgreementCreateValidator

      protected AgrAgreementCreateValidator getAgrAgreementCreateValidator()
      Deprecated.
    • getTxTemplate

      protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()
      Deprecated.