org.zeroexchange.i18n.create
Class DefaultPersistedLocalizedValuesFactory

java.lang.Object
  extended by org.zeroexchange.i18n.create.DefaultPersistedLocalizedValuesFactory
All Implemented Interfaces:
PersistedLocalizedValueFactory

public class DefaultPersistedLocalizedValuesFactory
extends Object
implements PersistedLocalizedValueFactory

Author:
black

Constructor Summary
DefaultPersistedLocalizedValuesFactory()
           
 
Method Summary
protected  Class getStringResourceModelClass(Class entityClass)
          Returns the class of the string resources model for the entity.
 void setResourceModelsPackage(String resourceModelsPackage)
           
 void setStringTableSuffix(String stringTableSuffix)
           
<E extends Persistent,T extends Strings<E>>
void
updatePersistedLocalizedValues(Collection<LocalizedValue> localizedValues, TitlesAware<E,T> entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPersistedLocalizedValuesFactory

public DefaultPersistedLocalizedValuesFactory()
Method Detail

setStringTableSuffix

public void setStringTableSuffix(String stringTableSuffix)

setResourceModelsPackage

public void setResourceModelsPackage(String resourceModelsPackage)

updatePersistedLocalizedValues

public <E extends Persistent,T extends Strings<E>> void updatePersistedLocalizedValues(Collection<LocalizedValue> localizedValues,
                                                                                       TitlesAware<E,T> entity)
Specified by:
updatePersistedLocalizedValues in interface PersistedLocalizedValueFactory

getStringResourceModelClass

protected Class getStringResourceModelClass(Class entityClass)
Returns the class of the string resources model for the entity.



Copyright © 2013. All Rights Reserved.