Package org.ametys.plugins.newsletter
Class NewsletterCopyUpdater
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.newsletter.NewsletterCopyUpdater
- All Implemented Interfaces:
CopyUpdater,LogEnabled,Serviceable,ThreadSafe
public class NewsletterCopyUpdater
extends AbstractLogEnabled
implements CopyUpdater, ThreadSafe, Serviceable
Copy updater for newsletters content
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidservice(ServiceManager smanager) voidupdateContent(Site initialSite, Site createdSite, Content initialContent, Content createdContent) Update content after copy sitevoidupdatePage(Site initialSite, Site createdSite, Page page) Update page after copy sitevoidupdateSite(Site initialSite, Site createdSite) Update site after copy siteMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
NewsletterCopyUpdater
public NewsletterCopyUpdater()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
updateContent
public void updateContent(Site initialSite, Site createdSite, Content initialContent, Content createdContent) Description copied from interface:CopyUpdaterUpdate content after copy site- Specified by:
updateContentin interfaceCopyUpdater- Parameters:
initialSite- the initial sitecreatedSite- the created siteinitialContent- the initial contentcreatedContent- the new content
-
updatePage
Description copied from interface:CopyUpdaterUpdate page after copy site- Specified by:
updatePagein interfaceCopyUpdater- Parameters:
initialSite- the original sitecreatedSite- the created sitepage- the new page
-
updateSite
Description copied from interface:CopyUpdaterUpdate site after copy site- Specified by:
updateSitein interfaceCopyUpdater- Parameters:
initialSite- the original sitecreatedSite- the created site
-