public class RebuildLiveComponent extends AbstractLogEnabled implements Component, Serviceable
Modifier and Type | Field and Description |
---|---|
private I18nUtils |
_i18nUtils |
private PageElementCache |
_inputDataCache |
private LivePopulatorExtensionPoint |
_livePopulatorExtensionPoint |
private Repository |
_repository |
private SiteIndexer |
_siteIndexer |
private SiteManager |
_siteManager |
private SitePopulator |
_sitePopulator |
private SkinsManager |
_skinsManager |
private WorkspaceIndexer |
_workspaceIndexer |
private PageElementCache |
_zoneItemCache |
static String |
ROLE
Avalon Role.
|
Constructor and Description |
---|
RebuildLiveComponent() |
Modifier and Type | Method and Description |
---|---|
private void |
_clearCache(Site site) |
private void |
_reindex(Site site) |
private void |
_sendErrorEmail(I18nizableText i18nSubject,
I18nizableText i18nBody) |
void |
rebuildLive(Site site)
Rebuild the live of a site, index all sitemaps and reset cache.
|
Map<String,String> |
rebuildLiveWorkspace()
Rebuild live workspace, index all sitemaps and reset cache.
|
void |
service(ServiceManager manager) |
getLogger, setLogger
private Repository _repository
private LivePopulatorExtensionPoint _livePopulatorExtensionPoint
private SitePopulator _sitePopulator
private SiteIndexer _siteIndexer
private WorkspaceIndexer _workspaceIndexer
private SiteManager _siteManager
private SkinsManager _skinsManager
private PageElementCache _inputDataCache
private PageElementCache _zoneItemCache
private I18nUtils _i18nUtils
public RebuildLiveComponent()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public Map<String,String> rebuildLiveWorkspace() throws Exception
Exception
- if an error occurs.public void rebuildLive(Site site) throws Exception
site
- The site to be rebuiltException
- if an error occurs.private void _clearCache(Site site) throws Exception
Exception
private void _sendErrorEmail(I18nizableText i18nSubject, I18nizableText i18nBody)