Package com.jalios.jcms.datainfos
Class PluginDataInfosManager
- java.lang.Object
-
- com.jalios.jcms.datainfos.PluginDataInfosManager
-
- All Implemented Interfaces:
JPropertiesListener
public final class PluginDataInfosManager extends java.lang.Object implements JPropertiesListener
-
-
Field Summary
-
Fields inherited from interface com.jalios.util.JPropertiesListener
REVISION
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(java.lang.String id, PluginDataInfosListener listener)
void
clearListener()
static PluginDataInfosManager
getInstance()
PluginDataInfos
getPluginDataInfos(java.lang.String pluginId, java.lang.String dataId, Member member, java.util.Locale locale)
void
propertiesChange(JProperties properties)
Invoked after properties have been modified in JCMS and save on disk.void
removeListener(java.lang.String id)
-
-
-
Method Detail
-
getInstance
public static final PluginDataInfosManager 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
-
clearListener
public void clearListener()
-
addListener
public void addListener(java.lang.String id, PluginDataInfosListener listener)
-
removeListener
public void removeListener(java.lang.String id)
-
getPluginDataInfos
public PluginDataInfos getPluginDataInfos(java.lang.String pluginId, java.lang.String dataId, Member member, java.util.Locale locale)
-
-