public class NewsletterCopyUpdater extends AbstractLogEnabled implements CopyUpdater, ThreadSafe, Serviceable
Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver |
Constructor and Description |
---|
NewsletterCopyUpdater() |
Modifier and Type | Method and Description |
---|---|
void |
service(ServiceManager smanager) |
void |
updateContent(Site initialSite,
Site createdSite,
Content initialContent,
Content createdContent)
Update content after copy site
|
void |
updatePage(Site initialSite,
Site createdSite,
Page page)
Update page after copy site
|
void |
updateSite(Site initialSite,
Site createdSite)
Update site after copy site
|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private AmetysObjectResolver _resolver
public NewsletterCopyUpdater()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
ServiceException
public void updateContent(Site initialSite, Site createdSite, Content initialContent, Content createdContent)
CopyUpdater
updateContent
in interface CopyUpdater
initialSite
- the initial sitecreatedSite
- the created siteinitialContent
- the initial contentcreatedContent
- the new contentpublic void updatePage(Site initialSite, Site createdSite, Page page)
CopyUpdater
updatePage
in interface CopyUpdater
initialSite
- the original sitecreatedSite
- the created sitepage
- the new pagepublic void updateSite(Site initialSite, Site createdSite)
CopyUpdater
updateSite
in interface CopyUpdater
initialSite
- the original sitecreatedSite
- the created site