Class TemplateSynchronizerImpl
java.lang.Object
ch.tocco.nice2.optional.cms.impl.template.sync.TemplateSynchronizerImpl
- All Implemented Interfaces:
TemplateSynchronizer
This service synchronizes templates, which are located in the file system with the database.
This is an eager load service (gets initialized when the application starts).
-
Constructor Summary
ConstructorDescriptionTemplateSynchronizerImpl
(TemplateCollector templateCollector, CmsTemplateService cmsTemplateService, SecurityManager securityManager, TemplateSynchronizationStatus templateSynchronizationStatus, org.slf4j.Logger log) -
Method Summary
-
Constructor Details
-
TemplateSynchronizerImpl
public TemplateSynchronizerImpl(TemplateCollector templateCollector, CmsTemplateService cmsTemplateService, SecurityManager securityManager, TemplateSynchronizationStatus templateSynchronizationStatus, org.slf4j.Logger log)
-
-
Method Details
-
synchronizeTemplates
public void synchronizeTemplates()Description copied from interface:TemplateSynchronizer
Synchronize the templates.- Specified by:
synchronizeTemplates
in interfaceTemplateSynchronizer
-