Interface SynchronizingContentOperator
- All Known Implementing Classes:
AbstractODFSynchronizingContentOperator,ApogeeSynchronizingContentOperator,ApogeeSynchronizingCourseListOperator,DefaultSynchronizingContentOperator,PegaseSynchronizingContentOperator,UDOrgUnitTypeOperator
public interface SynchronizingContentOperator
Extension which enables to transform the remote values of a
SynchronizableContentsCollection before synchronizing metadata via transform(ContentType, Map, Logger) method
and to make some additional operations after synchronization via additionalOperation(Content, Map, Logger) method.-
Method Summary
Modifier and TypeMethodDescriptionvoidadditionalOperation(Content content, Map<String, List<Object>> remoteValues, org.slf4j.Logger logger) Make some additional operations after synchronizationgetLabel()Get the label of this componentTransforms the remote values of aSynchronizableContentsCollectionbefore synchronizing attributes.
-
Method Details
-
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 aSynchronizableContentsCollectionbefore 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
-