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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
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
void updatePage(Site initialSite, Site createdSite, Page page)
Update page after copy site- Parameters:
initialSite
- the original sitecreatedSite
- the created sitepage
- the new page
-
updateSite
void updateSite(Site initialSite, Site createdSite)
Update site after copy site- Parameters:
initialSite
- the original sitecreatedSite
- the created site
-
-