Package org.ametys.cms.data
Class ContentSynchronizationResult
java.lang.Object
org.ametys.plugins.repository.data.holder.values.SynchronizationResult
org.ametys.cms.data.ContentSynchronizationResult
Result of a content synchronization
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addModifiedContents
(Collection<? extends ModifiableContent> contents) Add contents to the list of contents that have been modified by invert relations managementvoid
aggregateResult
(SynchronizationResult result) Aggregate the given result to the current oneRetrieves the contents that have been modified by invert relations managementMethods inherited from class org.ametys.plugins.repository.data.holder.values.SynchronizationResult
hasChanged, setHasChanged
-
Constructor Details
-
ContentSynchronizationResult
public ContentSynchronizationResult()
-
-
Method Details
-
getModifiedContents
Retrieves the contents that have been modified by invert relations management- Returns:
- the contents that have been modified by invert relations management
-
addModifiedContents
Add contents to the list of contents that have been modified by invert relations management- Parameters:
contents
- the contents to add
-
aggregateResult
Description copied from class:SynchronizationResult
Aggregate the given result to the current one- Overrides:
aggregateResult
in classSynchronizationResult
- Parameters:
result
- the result to aggregate to the current one
-