Class PrPartyRoleController
java.lang.Object
de.hybris.platform.partyroletmfwebservices.v1.controllers.PrBaseController
de.hybris.platform.partyroletmfwebservices.v1.controllers.PrPartyRoleController
- All Implemented Interfaces:
PartyRoleApi
@Deprecated(since="2208")
@Controller
public class PrPartyRoleController
extends PrBaseController
implements PartyRoleApi
Deprecated.
2208
Default implementation of controller for
PartyRoleApi.- Since:
- 2108
-
Constructor Summary
ConstructorsConstructorDescriptionPrPartyRoleController(javax.servlet.http.HttpServletRequest request) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PartyRole>createPartyRole(@Valid PartyRole partyRole) Deprecated.org.springframework.http.ResponseEntity<Void>Deprecated.protected PrPaginationServiceDeprecated.protected PrCreatePartyRoleValidatorDeprecated.protected PrPartyRoleServiceDeprecated.protected org.springframework.transaction.support.TransactionTemplateDeprecated.listPartyRole(@Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String name, @Valid String status) Deprecated.org.springframework.http.ResponseEntity<PartyRole>patchPartyRole(String id, @Valid PartyRole partyRole) Deprecated.org.springframework.http.ResponseEntity<PartyRole>retrievePartyRole(String id, @Valid String fields) Deprecated.Methods inherited from class de.hybris.platform.partyroletmfwebservices.v1.controllers.PrBaseController
filter, getDataMapper, getI18nService, getMessageSource, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, getUnsuccessfulResponse, handleInternalError, handleModelNotFoundException, init, sanitize, validate
-
Constructor Details
-
PrPartyRoleController
@Autowired public PrPartyRoleController(javax.servlet.http.HttpServletRequest request) Deprecated.
-
-
Method Details
-
retrievePartyRole
@RequestMapping(value="/partyRole/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<PartyRole> retrievePartyRole(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields) Deprecated.- Specified by:
retrievePartyRolein interfacePartyRoleApi
-
listPartyRole
@RequestMapping(value="/partyRole", produces="application/json;charset=utf-8", method=GET) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<List<PartyRole>> listPartyRole(@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="name",required=false) @Valid String name, @Valid @RequestParam(value="status",required=false) @Valid String status) Deprecated.- Specified by:
listPartyRolein interfacePartyRoleApi
-
createPartyRole
@RequestMapping(value="/partyRole", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<PartyRole> createPartyRole(@Valid @RequestBody @Valid PartyRole partyRole) Deprecated.- Specified by:
createPartyRolein interfacePartyRoleApi
-
patchPartyRole
@RequestMapping(value="/partyRole/{id}", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=PATCH) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<PartyRole> patchPartyRole(@PathVariable("id") String id, @Valid @RequestBody @Valid PartyRole partyRole) Deprecated.- Specified by:
patchPartyRolein interfacePartyRoleApi
-
deletePartyRole
@RequestMapping(value="/partyRole/{id}", produces="application/json;charset=utf-8", method=DELETE) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Void> deletePartyRole(@PathVariable("id") String id) Deprecated.- Specified by:
deletePartyRolein interfacePartyRoleApi
-
getPrPartyRoleService
Deprecated. -
getPrCreatePartyRoleValidator
Deprecated. -
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()Deprecated. -
getPaginationService
Deprecated.
-