Package org.ametys.web.live
Class PluginsLivePopulator
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.live.ContentsLivePopulator
org.ametys.web.live.PluginsLivePopulator
- All Implemented Interfaces:
LogEnabled
,LivePopulator
,Serviceable
LivePopulator
for synchronizing '/ametys:root/ametys:plugins'.-
Field Summary
Fields inherited from class org.ametys.web.live.ContentsLivePopulator
_resolver, _synchronizeHelper
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.web.live.ContentsLivePopulator
_cloneContents, _getContents, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
PluginsLivePopulator
public PluginsLivePopulator()
-
-
Method Details
-
populate
public List<String> populate(javax.jcr.Session session, javax.jcr.Session liveSession) throws Exception Description copied from interface:LivePopulator
Populates the live workspace.- Specified by:
populate
in interfaceLivePopulator
- Overrides:
populate
in classContentsLivePopulator
- 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.
- Throws:
Exception
- if an error occurs.
-