public class DefaultSynchronizingContentOperator extends Object implements SynchronizingContentOperator, Configurable, PluginAware
SynchronizingContentOperator which does nothing.| Modifier and Type | Field and Description |
|---|---|
protected I18nizableText |
_label
The label
|
protected String |
_pluginName
The name of plugin hosting this component
|
| Constructor and Description |
|---|
DefaultSynchronizingContentOperator() |
| Modifier and Type | Method and Description |
|---|---|
void |
additionalOperation(Content content,
Map<String,List<Object>> remoteValues,
Logger logger)
Make some additionnal operations after synchronization
|
void |
configure(Configuration configuration) |
I18nizableText |
getLabel()
Get the label of this component
|
void |
setPluginInfo(String pluginName,
String featureName,
String id)
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level. |
Map<String,List<Object>> |
transform(Map<String,List<Object>> remoteValues,
Logger logger)
Transforms the remote values of a
SynchronizableContentsCollection before synchronizing metadata. |
protected I18nizableText _label
protected String _pluginName
public DefaultSynchronizingContentOperator()
public void setPluginInfo(String pluginName, String featureName, String id)
PluginAwaresetPluginInfo in interface PluginAwarepluginName - Unique identifier for the plugin hosting the extensionfeatureName - Unique feature identifier (unique for a given pluginName)id - Unique identifier of this componentpublic void configure(Configuration configuration) throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionpublic I18nizableText getLabel()
SynchronizingContentOperatorgetLabel in interface SynchronizingContentOperatorpublic Map<String,List<Object>> transform(Map<String,List<Object>> remoteValues, Logger logger)
SynchronizingContentOperatorSynchronizableContentsCollection before synchronizing metadata.transform in interface SynchronizingContentOperatorremoteValues - The remote values to transformlogger - The loggerpublic void additionalOperation(Content content, Map<String,List<Object>> remoteValues, Logger logger)
SynchronizingContentOperatoradditionalOperation in interface SynchronizingContentOperatorcontent - The content which was synchronizedremoteValues - The transformed remote valueslogger - The logger