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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModifiedContents(Collection<? extends ModifiableContent> contents) Add contents to the list of related contents that have been modified by the synchronizationvoidaggregateResult(SynchronizationResult result) Aggregate the given result to the current oneRetrieves the related contents that have been modified by the synchronization (e.g., invert relations management)Methods inherited from class org.ametys.plugins.repository.data.holder.values.SynchronizationResult
hasChanged, setHasChanged
-
Constructor Details
-
ContentSynchronizationResult
public ContentSynchronizationResult()
-
-
Method Details
-
getModifiedContents
Retrieves the related contents that have been modified by the synchronization (e.g., invert relations management)- Returns:
- the related contents that have been modified by the synchronization
-
addModifiedContents
Add contents to the list of related contents that have been modified by the synchronization- Parameters:
contents- the contents to add
-
aggregateResult
Description copied from class:SynchronizationResultAggregate the given result to the current one- Overrides:
aggregateResultin classSynchronizationResult- Parameters:
result- the result to aggregate to the current one
-