Class PegaseSynchronizingContentOperator
- java.lang.Object
-
- org.ametys.plugins.contentio.synchronize.impl.DefaultSynchronizingContentOperator
-
- org.ametys.plugins.odfsync.scc.operator.AbstractODFSynchronizingContentOperator
-
- org.ametys.plugins.odfsync.pegase.PegaseSynchronizingContentOperator
-
- All Implemented Interfaces:
SynchronizingContentOperator
,PluginAware
,Configurable
,Serviceable
public class PegaseSynchronizingContentOperator extends AbstractODFSynchronizingContentOperator
Pegase synchronizing content operator extendingApogeeSynchronizingContentOperator
because we keep some mapping mechanisms.
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.odfsync.scc.operator.AbstractODFSynchronizingContentOperator
_contentTypeEP, _odfSCCOperatorHelper
-
Fields inherited from class org.ametys.plugins.contentio.synchronize.impl.DefaultSynchronizingContentOperator
_label, _pluginName
-
-
Constructor Summary
Constructors Constructor Description PegaseSynchronizingContentOperator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getHelperRole()
Get the SCC operator helper for the current implementation.Map<String,List<Object>>
transform(ContentType obsoleteCType, Map<String,List<Object>> remoteValues, org.slf4j.Logger logger)
Transforms the remote values of aSynchronizableContentsCollection
before synchronizing attributes.-
Methods inherited from class org.ametys.plugins.odfsync.scc.operator.AbstractODFSynchronizingContentOperator
_getFirstValueAsString, _getReferenceTableEntryId, _transformAttributeValues, _transformContentAttributeValues, _transformRichTextAttributeValues, service
-
Methods inherited from class org.ametys.plugins.contentio.synchronize.impl.DefaultSynchronizingContentOperator
additionalOperation, configure, getLabel, setPluginInfo
-
-
-
-
Constructor Detail
-
PegaseSynchronizingContentOperator
public PegaseSynchronizingContentOperator()
-
-
Method Detail
-
getHelperRole
protected String getHelperRole()
Description copied from class:AbstractODFSynchronizingContentOperator
Get the SCC operator helper for the current implementation.- Specified by:
getHelperRole
in classAbstractODFSynchronizingContentOperator
- Returns:
- a SCC operator helper role
-
transform
public Map<String,List<Object>> transform(ContentType obsoleteCType, Map<String,List<Object>> remoteValues, org.slf4j.Logger logger)
Description copied from interface:SynchronizingContentOperator
Transforms the remote values of aSynchronizableContentsCollection
before synchronizing attributes.- Specified by:
transform
in interfaceSynchronizingContentOperator
- Overrides:
transform
in classAbstractODFSynchronizingContentOperator
- Parameters:
obsoleteCType
- The content typeremoteValues
- The remote values to transformlogger
- The logger- Returns:
- The transformed remote values
-
-