Package org.opencms.ade.contenteditor
Class CmsEditorChangeHandlerProperty
java.lang.Object
org.opencms.ade.contenteditor.A_CmsXmlContentEditorChangeHandler
org.opencms.ade.contenteditor.CmsEditorChangeHandlerProperty
- All Implemented Interfaces:
I_CmsXmlContentEditorChangeHandler
Handles editor content changes to read OpenCms resource properties and insert their values into the edited content.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final org.apache.commons.logging.Log
The logger instance.Fields inherited from class org.opencms.ade.contenteditor.A_CmsXmlContentEditorChangeHandler
m_configuration, m_scope
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhandleChange
(CmsObject cms, CmsXmlContent content, Locale locale, Collection<String> changedPaths) Handles the content change.void
setConfiguration
(String configuration) Sets the configuration.Methods inherited from class org.opencms.ade.contenteditor.A_CmsXmlContentEditorChangeHandler
getConfiguration, getScope, resolveRelativePath, setScope
-
Field Details
-
LOG
The logger instance.
-
-
Constructor Details
-
CmsEditorChangeHandlerProperty
public CmsEditorChangeHandlerProperty()
-
-
Method Details
-
handleChange
public CmsXmlContent handleChange(CmsObject cms, CmsXmlContent content, Locale locale, Collection<String> changedPaths) Description copied from interface:I_CmsXmlContentEditorChangeHandler
Handles the content change.- Parameters:
cms
- the cms contextcontent
- the changed contentlocale
- the edited localechangedPaths
- the changed content value paths- Returns:
- the changed content
- See Also:
-
setConfiguration
Description copied from interface:I_CmsXmlContentEditorChangeHandler
Sets the configuration.- Specified by:
setConfiguration
in interfaceI_CmsXmlContentEditorChangeHandler
- Overrides:
setConfiguration
in classA_CmsXmlContentEditorChangeHandler
- Parameters:
configuration
- the configuration- See Also:
-