org.broadleafcommerce.admin.web.controller
Class AdminProductTranslationExtensionListener

java.lang.Object
  extended by org.broadleafcommerce.admin.web.controller.AdminProductTranslationExtensionListener
All Implemented Interfaces:
AdminTranslationControllerExtensionListener

@Component(value="blAdminProductTranslationExtensionListener")
public class AdminProductTranslationExtensionListener
extends Object
implements AdminTranslationControllerExtensionListener

Author:
Andre Azzolini (apazzolini)

Field Summary
protected  CatalogService catalogService
           
 
Constructor Summary
AdminProductTranslationExtensionListener()
           
 
Method Summary
 boolean 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."
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

catalogService

protected CatalogService catalogService
Constructor Detail

AdminProductTranslationExtensionListener

public AdminProductTranslationExtensionListener()
Method Detail

applyTransformation

public boolean 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 AdminTranslationControllerExtensionListener


Copyright © 2013. All Rights Reserved.