Package com.jalios.jcms.l10n
Class DataLocalizationManager
- java.lang.Object
 - 
- com.jalios.jcms.l10n.DataLocalizationManager
 
 
- 
- All Implemented Interfaces:
 JPropertiesListener
public class DataLocalizationManager extends java.lang.Object implements JPropertiesListener
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDATA_LOCALIZATION_ENABLE_PROPstatic java.lang.StringDATA_LOCALIZATION_FORCE_PROPstatic java.lang.StringPROP_PREFIXstatic java.lang.StringREVISION 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getFieldList(java.lang.Class<? extends Data> clazz)static DataLocalizationManagergetInstance()voidlocalize()Do localization of data fieldvoidpropertiesChange(JProperties properties)Invoked after properties have been modified in JCMS and save on disk. 
 - 
 
- 
- 
Field Detail
- 
REVISION
public static final java.lang.String REVISION
- See Also:
 - Constant Field Values
 
 
- 
DATA_LOCALIZATION_ENABLE_PROP
public static final java.lang.String DATA_LOCALIZATION_ENABLE_PROP
- See Also:
 - Constant Field Values
 
 
- 
DATA_LOCALIZATION_FORCE_PROP
public static final java.lang.String DATA_LOCALIZATION_FORCE_PROP
- See Also:
 - Constant Field Values
 
 
- 
PROP_PREFIX
public static final java.lang.String PROP_PREFIX
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getInstance
public static DataLocalizationManager getInstance()
 
- 
propertiesChange
public void propertiesChange(JProperties properties)
Description copied from interface:JPropertiesListenerInvoked after properties have been modified in JCMS and save on disk.You cannot alter the value received in parameters.
Note that properties parameter may be null, a limited set of site properties, or all site properties.
To check that a property has been modified, reload the "current" property instead using
channel.getPropertiesorchannel.getProperty.- Specified by:
 propertiesChangein interfaceJPropertiesListener- Parameters:
 properties- the properties which have been submitted to change
 
- 
localize
public void localize()
Do localization of data field 
- 
getFieldList
public java.util.List<java.lang.String> getFieldList(java.lang.Class<? extends Data> clazz)
 
 - 
 
 -