Package org.ametys.web.live
Class SitesLivePopulator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.web.live.SitesLivePopulator
- All Implemented Interfaces:
LivePopulator
,LogEnabled
,Serviceable
LivePopulator
for synchronizing sites.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpopulate
(javax.jcr.Session session, javax.jcr.Session liveSession) Populates the live workspace.void
service
(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
SitesLivePopulator
public SitesLivePopulator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
populate
Description copied from interface:LivePopulator
Populates the live workspace.- Specified by:
populate
in interfaceLivePopulator
- Parameters:
session
- the session on the default workspace.liveSession
- the session on the live workspace.- Returns:
- A list of error technical messages. A message can use \n for carriage return.
-