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 contents that have been modified by invert relations managementvoidaggregateResult(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:SynchronizationResultAggregate the given result to the current one- Overrides:
aggregateResultin classSynchronizationResult- Parameters:
result- the result to aggregate to the current one
-