Class PmOrganizationController

java.lang.Object
de.hybris.platform.partytmfwebservices.v1.controllers.PmBaseController
de.hybris.platform.partytmfwebservices.v1.controllers.PmOrganizationController
All Implemented Interfaces:
OrganizationApi

@Deprecated(since="2208") @Controller public class PmOrganizationController extends PmBaseController implements OrganizationApi
Deprecated.
2208
Controller handling Organization related actions.
Since:
2108
  • Constructor Details

    • PmOrganizationController

      @Autowired public PmOrganizationController(javax.servlet.http.HttpServletRequest request)
      Deprecated.
  • Method Details

    • retrieveOrganization

      @RequestMapping(value="/organization/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<Organization> retrieveOrganization(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields)
      Deprecated.
      Specified by:
      retrieveOrganization in interface OrganizationApi
    • listOrganization

      @RequestMapping(value="/organization", produces="application/json;charset=utf-8", method=GET) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<List<Organization>> listOrganization(@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="tradingName",required=false) @Valid String tradingName)
      Deprecated.
      Specified by:
      listOrganization in interface OrganizationApi
    • createOrganization

      @RequestMapping(value="/organization", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Organization> createOrganization(@Valid @RequestBody @Valid Organization organization)
      Deprecated.
      Specified by:
      createOrganization in interface OrganizationApi
    • deleteOrganization

      @Secured("ROLE_TRUSTED_CLIENT") @RequestMapping(value="/organization/{id}", produces="application/json;charset=utf-8", method=DELETE) public org.springframework.http.ResponseEntity<Void> deleteOrganization(@PathVariable("id") String id)
      Deprecated.
      Specified by:
      deleteOrganization in interface OrganizationApi
    • getPmPaginationService

      protected PmPaginationService getPmPaginationService()
      Deprecated.
    • getOrganizationService

      protected PmOrganizationService getOrganizationService()
      Deprecated.
    • getTxTemplate

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

      protected PmCreateOrganizationValidator getCreateOrganizationValidator()
      Deprecated.