Class DefaultProfileController
java.lang.Object
de.hybris.platform.b2bpunchoutaddon.controllers.pages.DefaultProfileController
- All Implemented Interfaces:
PunchOutController
@Deprecated(since="2205",
forRemoval=true)
@Component
public class DefaultProfileController
extends Object
implements PunchOutController
Deprecated, for removal: This API element is subject to removal in a future version.
Please use #de.hybris.platform.b2bpunchoutocc.controllers instead
Controller to handle a punchout profile transaction.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected BaseSiteServiceDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.protected SessionServiceDeprecated, for removal: This API element is subject to removal in a future version.protected SiteBaseUrlResolutionServiceDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.handleException(Exception exc) Deprecated, for removal: This API element is subject to removal in a future version.handleProfileRequest(CXML request) Deprecated, for removal: This API element is subject to removal in a future version.Handles a profile request from the punch out provider.voidsetBaseSiteService(BaseSiteService baseSiteService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPunchOutService(PunchOutService punchoutService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSessionService(SessionService sessionService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSiteBaseUrlResolutionService(SiteBaseUrlResolutionService siteBaseUrlResolutionService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSupportedTransactionURLPaths(Map<String, String> supportedTransactionURLPaths) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DefaultProfileController
public DefaultProfileController()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
handleProfileRequest
@PostMapping("/punchout/cxml/profile") @ResponseBody @PunchOutAuthentication public CXML handleProfileRequest(@RequestBody CXML request) Deprecated, for removal: This API element is subject to removal in a future version.Handles a profile request from the punch out provider.- Parameters:
request- The cXML with the request information.- Returns:
- A cXML with the profile response.
-
handleException
@ExceptionHandler(java.lang.Exception.class) @ResponseStatus(BAD_REQUEST) @ResponseBody public CXML handleException(Exception exc) Deprecated, for removal: This API element is subject to removal in a future version. -
getPunchOutService
Deprecated, for removal: This API element is subject to removal in a future version. -
setPunchOutService
Deprecated, for removal: This API element is subject to removal in a future version. -
getSiteBaseUrlResolutionService
Deprecated, for removal: This API element is subject to removal in a future version. -
setSiteBaseUrlResolutionService
public void setSiteBaseUrlResolutionService(SiteBaseUrlResolutionService siteBaseUrlResolutionService) Deprecated, for removal: This API element is subject to removal in a future version. -
getBaseSiteService
Deprecated, for removal: This API element is subject to removal in a future version. -
setBaseSiteService
Deprecated, for removal: This API element is subject to removal in a future version. -
getSessionService
Deprecated, for removal: This API element is subject to removal in a future version. -
setSessionService
Deprecated, for removal: This API element is subject to removal in a future version. -
getSupportedTransactionURLPaths
Deprecated, for removal: This API element is subject to removal in a future version. -
setSupportedTransactionURLPaths
Deprecated, for removal: This API element is subject to removal in a future version.
-