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 Summary
ConstructorsConstructorDescriptionPmOrganizationController(javax.servlet.http.HttpServletRequest request) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Organization>createOrganization(@Valid Organization organization) Deprecated.org.springframework.http.ResponseEntity<Void>Deprecated.protected PmCreateOrganizationValidatorDeprecated.protected PmOrganizationServiceDeprecated.protected PmPaginationServiceDeprecated.protected org.springframework.transaction.support.TransactionTemplateDeprecated.org.springframework.http.ResponseEntity<List<Organization>>listOrganization(@Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String tradingName) Deprecated.org.springframework.http.ResponseEntity<Organization>retrieveOrganization(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
-
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:
retrieveOrganizationin interfaceOrganizationApi
-
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:
listOrganizationin interfaceOrganizationApi
-
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:
createOrganizationin interfaceOrganizationApi
-
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:
deleteOrganizationin interfaceOrganizationApi
-
getPmPaginationService
Deprecated. -
getOrganizationService
Deprecated. -
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()Deprecated. -
getCreateOrganizationValidator
Deprecated.
-