Class PrPartyRoleController

java.lang.Object
de.hybris.platform.partyroletmfwebservices.v2.controllers.PrBaseController
de.hybris.platform.partyroletmfwebservices.v2.controllers.PrPartyRoleController
All Implemented Interfaces:
PartyRoleApi

@Controller public class PrPartyRoleController extends PrBaseController implements PartyRoleApi
Default implementation of controller for PartyRoleApi.
Since:
2208
  • Constructor Details

    • PrPartyRoleController

      @Autowired public PrPartyRoleController(javax.servlet.http.HttpServletRequest request)
  • 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)
      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)
      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)
      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)
      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)
      Specified by:
      deletePartyRole in interface PartyRoleApi
    • getTuaPartyRoleService

      protected TuaPartyRoleService getTuaPartyRoleService()
    • getPrCreatePartyRoleValidator

      protected PrCreatePartyRoleValidator getPrCreatePartyRoleValidator()
    • getTxTemplate

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

      protected PrPaginationService getPaginationService()