Package org.ametys.cms.data
Class ContentSynchronizationResult
- java.lang.Object
-
- org.ametys.plugins.repository.data.holder.values.SynchronizationResult
-
- org.ametys.cms.data.ContentSynchronizationResult
-
public class ContentSynchronizationResult extends SynchronizationResult
Result of a content synchronization
-
-
Constructor Summary
Constructors Constructor Description ContentSynchronizationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 oneSet<ModifiableContent>
getModifiedContents()
Retrieves the contents that have been modified by invert relations management-
Methods inherited from class org.ametys.plugins.repository.data.holder.values.SynchronizationResult
hasChanged, setHasChanged
-
-
-
-
Constructor Detail
-
ContentSynchronizationResult
public ContentSynchronizationResult()
-
-
Method Detail
-
getModifiedContents
public Set<ModifiableContent> getModifiedContents()
Retrieves the contents that have been modified by invert relations management- Returns:
- the contents that have been modified by invert relations management
-
addModifiedContents
public void addModifiedContents(Collection<? extends ModifiableContent> contents)
Add contents to the list of contents that have been modified by invert relations management- Parameters:
contents
- the contents to add
-
aggregateResult
public void aggregateResult(SynchronizationResult result)
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
-
-