org.broadleafcommerce.openadmin.web.service
Class TranslationFormBuilderServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.openadmin.web.service.TranslationFormBuilderServiceImpl
All Implemented Interfaces:
TranslationFormBuilderService

@Service(value="blTranslationFormBuilderService")
public class TranslationFormBuilderServiceImpl
extends Object
implements TranslationFormBuilderService


Field Summary
protected  FormBuilderService formBuilderService
           
protected  LocaleService localeService
           
 
Constructor Summary
TranslationFormBuilderServiceImpl()
           
 
Method Summary
 ListGrid buildListGrid(List<Translation> translations)
          Builds a ListGrid for the given list of translations
 EntityForm buildTranslationForm(TranslationForm formProperties)
          Builds an EntityForm used to create or edit a translation value
protected  ComboField getLocaleField(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

formBuilderService

protected FormBuilderService formBuilderService

localeService

protected LocaleService localeService
Constructor Detail

TranslationFormBuilderServiceImpl

public TranslationFormBuilderServiceImpl()
Method Detail

buildListGrid

public ListGrid buildListGrid(List<Translation> translations)
Description copied from interface: TranslationFormBuilderService
Builds a ListGrid for the given list of translations

Specified by:
buildListGrid in interface TranslationFormBuilderService
Returns:
the list grid

buildTranslationForm

public EntityForm buildTranslationForm(TranslationForm formProperties)
Description copied from interface: TranslationFormBuilderService
Builds an EntityForm used to create or edit a translation value

Specified by:
buildTranslationForm in interface TranslationFormBuilderService
Returns:
the entity form

getLocaleField

protected ComboField getLocaleField(String value)


Copyright © 2013. All Rights Reserved.