Class PmIndividualController
java.lang.Object
de.hybris.platform.partytmfwebservices.v1.controllers.PmBaseController
de.hybris.platform.partytmfwebservices.v1.controllers.PmIndividualController
- All Implemented Interfaces:
IndividualApi
@Deprecated(since="2208")
@Controller
public class PmIndividualController
extends PmBaseController
implements IndividualApi
Deprecated.
2208
Default implementation of controller for
IndividualApi.- Since:
- 2108
-
Constructor Summary
ConstructorsConstructorDescriptionPmIndividualController(javax.servlet.http.HttpServletRequest request) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Individual>createIndividual(@Valid Individual individual) Deprecated.org.springframework.http.ResponseEntity<Void>Deprecated.protected PmCreateIndividualValidatorDeprecated.protected PmIndividualServiceDeprecated.protected PmPaginationServiceDeprecated.protected org.springframework.transaction.support.TransactionTemplateDeprecated.org.springframework.http.ResponseEntity<List<Individual>>listIndividual(@Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String familyName, @Valid String givenName) Deprecated.org.springframework.http.ResponseEntity<Individual>retrieveIndividual(String id, @Valid String fields) Deprecated.Methods inherited from class de.hybris.platform.partytmfwebservices.v1.controllers.PmBaseController
filter, getDataMapper, getI18nService, getMessageSource, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, getUnsuccessfulResponse, handleInternalError, handleModelNotFoundException, init, sanitize, validate
-
Constructor Details
-
PmIndividualController
@Autowired public PmIndividualController(javax.servlet.http.HttpServletRequest request) Deprecated.
-
-
Method Details
-
listIndividual
@RequestMapping(value="/individual", produces="application/json;charset=utf-8", method=GET) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<List<Individual>> listIndividual(@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="familyName",required=false) @Valid String familyName, @Valid @RequestParam(value="givenName",required=false) @Valid String givenName) Deprecated.- Specified by:
listIndividualin interfaceIndividualApi
-
retrieveIndividual
@RequestMapping(value="/individual/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<Individual> retrieveIndividual(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields) Deprecated.- Specified by:
retrieveIndividualin interfaceIndividualApi
-
createIndividual
@RequestMapping(value="/individual", produces="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Individual> createIndividual(@Valid @RequestBody @Valid Individual individual) Deprecated.- Specified by:
createIndividualin interfaceIndividualApi
-
deleteIndividual
@RequestMapping(value="/individual/{id}", produces="application/json;charset=utf-8", method=DELETE) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Void> deleteIndividual(@PathVariable("id") String id) Deprecated.- Specified by:
deleteIndividualin interfaceIndividualApi
-
getPmIndividualService
Deprecated. -
getPmPaginationService
Deprecated. -
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()Deprecated. -
getPmCreateIndividualValidator
Deprecated.
-