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
_i18nUtils, _resolver, _synchronizeHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
A readable label of the populatorpopulate
(javax.jcr.Session session, javax.jcr.Session liveSession, ContainerProgressionTracker progressionTracker) Populates the live workspace.Methods inherited from class org.ametys.web.live.ContentsLivePopulator
_cloneContents, _getContents, getProgressionTrackerLogger, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.web.live.LivePopulator
populate
-
Constructor Details
-
PluginsLivePopulator
public PluginsLivePopulator()
-
-
Method Details
-
getLabel
Description copied from interface:LivePopulator
A readable label of the populator- Specified by:
getLabel
in interfaceLivePopulator
- Overrides:
getLabel
in classContentsLivePopulator
- Returns:
- A non null value
-
populate
public List<String> populate(javax.jcr.Session session, javax.jcr.Session liveSession, ContainerProgressionTracker progressionTracker) 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.progressionTracker
- The static progression tracker- Returns:
- A list of error technical messages. A message can use \n for carriage return.
- Throws:
Exception
- if an error occurs.
-