Package org.ametys.web.site
Interface CopyUpdater
- All Known Implementing Classes:
FormsCopyUpdater
,NewsletterCopyUpdater
,SharedContentCopyUpdater
,SurveyCopyUpdater
public interface CopyUpdater
Interface to update contents or pages after a copy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateContent
(Site initialSite, Site createdSite, Content initialContent, Content createdContent) Update content after copy sitevoid
updatePage
(Site initialSite, Site createdSite, Page page) Update page after copy sitevoid
updateSite
(Site initialSite, Site createdSite) Update site after copy site
-
Method Details
-
updateContent
void updateContent(Site initialSite, Site createdSite, Content initialContent, Content createdContent) Update content after copy site- Parameters:
initialSite
- the initial sitecreatedSite
- the created siteinitialContent
- the initial contentcreatedContent
- the new content
-
updatePage
Update page after copy site- Parameters:
initialSite
- the original sitecreatedSite
- the created sitepage
- the new page
-
updateSite
Update site after copy site- Parameters:
initialSite
- the original sitecreatedSite
- the created site
-