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 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:
      retrievePartyRole in interface PartyRoleApi
    • 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:
      listPartyRole in interface PartyRoleApi
    • 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:
      createPartyRole in interface PartyRoleApi
    • 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:
      patchPartyRole in interface PartyRoleApi
    • 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:
      deletePartyRole in interface PartyRoleApi
    • getPrPartyRoleService

      protected PrPartyRoleService getPrPartyRoleService()
      Deprecated.
    • getPrCreatePartyRoleValidator

      protected PrCreatePartyRoleValidator getPrCreatePartyRoleValidator()
      Deprecated.
    • getTxTemplate

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

      protected PrPaginationService getPaginationService()
      Deprecated.