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.String
DATA_LOCALIZATION_ENABLE_PROP
static java.lang.String
DATA_LOCALIZATION_FORCE_PROP
static java.lang.String
PROP_PREFIX
static java.lang.String
REVISION
-
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 DataLocalizationManager
getInstance()
void
localize()
Do localization of data fieldvoid
propertiesChange(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:JPropertiesListener
Invoked 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.getProperties
orchannel.getProperty
.- Specified by:
propertiesChange
in 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)
-
-