Class AgrAgreementsController

All Implemented Interfaces:
AgreementApi

@Controller @Deprecated(since="2302") public class AgrAgreementsController extends AgrBaseController implements AgreementApi
Deprecated.
since 2302. Please use the v3 version instead AgrAgreementsController
Default implementation of AgreementApi
Since:
2208
  • 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 TuaAgreementsService getAgreementService()
      Deprecated.
    • getModelService

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

      protected TuaGenericService getAgreementGenericService()
      Deprecated.
    • getAgrAgreementCreateValidator

      protected AgrAgreementCreateValidator getAgrAgreementCreateValidator()
      Deprecated.
    • getTxTemplate

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