Interface SynchronizingContentOperator
-
- All Known Implementing Classes:
AbstractODFSynchronizingContentOperator
,ApogeeSynchronizingContentOperator
,ApogeeSynchronizingCourseListOperator
,DefaultSynchronizingContentOperator
,PegaseSynchronizingContentOperator
,UDOrgUnitTypeOperator
public interface SynchronizingContentOperator
Extension which enables to transform the remote values of aSynchronizableContentsCollection
before synchronizing metadata viatransform(ContentType, Map, Logger)
method and to make some additional operations after synchronization viaadditionalOperation(Content, Map, Logger)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
additionalOperation(Content content, Map<String,List<Object>> remoteValues, org.slf4j.Logger logger)
Make some additional operations after synchronizationI18nizableText
getLabel()
Get the label of this componentMap<String,List<Object>>
transform(ContentType cType, Map<String,List<Object>> remoteValues, org.slf4j.Logger logger)
Transforms the remote values of aSynchronizableContentsCollection
before synchronizing attributes.
-
-
-
Method Detail
-
getLabel
I18nizableText getLabel()
Get the label of this component- Returns:
- the label
-
transform
Map<String,List<Object>> transform(ContentType cType, Map<String,List<Object>> remoteValues, org.slf4j.Logger logger)
Transforms the remote values of aSynchronizableContentsCollection
before synchronizing attributes.- Parameters:
cType
- The content typeremoteValues
- The remote values to transformlogger
- The logger- Returns:
- The transformed remote values
-
additionalOperation
void additionalOperation(Content content, Map<String,List<Object>> remoteValues, org.slf4j.Logger logger)
Make some additional operations after synchronization- Parameters:
content
- The content which was synchronizedremoteValues
- The transformed remote valueslogger
- The logger
-
-