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
Constructors -
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, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.web.live.LivePopulator
populate
-
Constructor Details
-
PluginsLivePopulator
public PluginsLivePopulator()
-
-
Method Details
-
getLabel
Description copied from interface:LivePopulatorA readable label of the populator- Specified by:
getLabelin interfaceLivePopulator- Overrides:
getLabelin 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:LivePopulatorPopulates the live workspace.- Specified by:
populatein interfaceLivePopulator- Overrides:
populatein 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.
-