org.broadleafcommerce.admin.web.controller
Class AdminProductTranslationExtensionHandler
java.lang.Object
org.broadleafcommerce.common.extension.AbstractExtensionHandler
org.broadleafcommerce.admin.web.controller.AdminProductTranslationExtensionHandler
- All Implemented Interfaces:
- ExtensionHandler, AdminTranslationControllerExtensionHandler
@Component(value="blAdminProductTranslationExtensionHandler")
public class AdminProductTranslationExtensionHandler
- extends AbstractExtensionHandler
- implements AdminTranslationControllerExtensionHandler
- Author:
- Andre Azzolini (apazzolini)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
catalogService
protected CatalogService catalogService
extensionManager
protected AdminTranslationControllerExtensionManager extensionManager
AdminProductTranslationExtensionHandler
public AdminProductTranslationExtensionHandler()
init
@PostConstruct
public void init()
applyTransformation
public ExtensionResultStatusType applyTransformation(TranslationForm form)
- If we are trying to translate a field on Product that starts with "defaultSku.", we really want to associate the
translation with Sku, its associated id, and the property name without "defaultSku."
- Specified by:
applyTransformation in interface AdminTranslationControllerExtensionHandler
Copyright © 2013. All Rights Reserved.