Class AgrAgreementsController
java.lang.Object
de.hybris.platform.agreementtmfwebservices.controller.AgrBaseController
de.hybris.platform.agreementtmfwebservices.v2.controllers.AgrBaseController
de.hybris.platform.agreementtmfwebservices.v2.controllers.AgrAgreementsController
- All Implemented Interfaces:
AgreementApi
@Controller
@Deprecated(since="2302")
public class AgrAgreementsController
extends AgrBaseController
implements AgreementApi
Deprecated.
Default implementation of
AgreementApi- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionAgrAgreementsController(javax.servlet.http.HttpServletRequest request) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Agreement>createAgreement(@Valid Agreement agreement) Deprecated.org.springframework.http.ResponseEntity<Void>Deprecated.protected AgrAgreementCreateValidatorDeprecated.protected TuaGenericServiceDeprecated.protected TuaAgreementsServiceDeprecated.protected de.hybris.platform.servicelayer.model.ModelServiceDeprecated.protected org.springframework.transaction.support.TransactionTemplateDeprecated.listAgreement(@Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String status) Deprecated.org.springframework.http.ResponseEntity<Agreement>patchAgreement(String id, @Valid Agreement agreement) Deprecated.org.springframework.http.ResponseEntity<Agreement>retrieveAgreement(String id, @Valid String fields) Deprecated.Methods inherited from class de.hybris.platform.agreementtmfwebservices.controller.AgrBaseController
filter, getDataMapper, getI18nService, getMessageSource, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, getUnsuccessfulResponse, handleInternalError, handleModelNotFoundException, hasRole, init, sanitize, validate
-
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:
retrieveAgreementin interfaceAgreementApi
-
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:
createAgreementin interfaceAgreementApi
-
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:
deleteAgreementin interfaceAgreementApi
-
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:
listAgreementin interfaceAgreementApi
-
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:
patchAgreementin interfaceAgreementApi
-
getAgreementService
Deprecated. -
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()Deprecated. -
getAgreementGenericService
Deprecated. -
getAgrAgreementCreateValidator
Deprecated. -
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()Deprecated.
-
AgrAgreementsController