public class SharedContentCopyUpdater extends AbstractLogEnabled implements CopyUpdater, Serviceable
| Modifier and Type | Field and Description |
|---|---|
protected SharedContentManager |
_sharedContentManager
The shared content manager.
|
| Constructor and Description |
|---|
SharedContentCopyUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
service(ServiceManager serviceManager) |
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, setupLoggerprotected SharedContentManager _sharedContentManager
public SharedContentCopyUpdater()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void updateContent(Site initialSite, Site createdSite, Content initialContent, Content createdContent)
CopyUpdaterupdateContent in interface CopyUpdaterinitialSite - the initial sitecreatedSite - the created siteinitialContent - the initial contentcreatedContent - the new contentpublic void updatePage(Site initialSite, Site createdSite, Page page)
CopyUpdaterupdatePage in interface CopyUpdaterinitialSite - the original sitecreatedSite - the created sitepage - the new pagepublic void updateSite(Site initialSite, Site createdSite)
CopyUpdaterupdateSite in interface CopyUpdaterinitialSite - the original sitecreatedSite - the created site