Class SolrOrgUnitChangedPart2Observer
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.web.indexing.observation.AbstractSolrObserver
-
- org.ametys.plugins.odfweb.observation.solr.AbstractSolrOrgUnitObserver
-
- org.ametys.plugins.odfweb.observation.solr.SolrOrgUnitChangedPart2Observer
-
- All Implemented Interfaces:
Observer
,LogEnabled
,Serviceable
public class SolrOrgUnitChangedPart2Observer extends AbstractSolrOrgUnitObserver
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.odfweb.observation.solr.AbstractSolrOrgUnitObserver
_odfPageHandler, _odfProgramRestrictionManager, _siteConf, _siteManager
-
Fields inherited from class org.ametys.web.indexing.observation.AbstractSolrObserver
_resolver, _siteIndexer, _solrIndexer, _solrPageIndexer
-
Fields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description SolrOrgUnitChangedPart2Observer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]
_supportedEventIds()
Gets the supported event ids for this Observer to look for theOrgUnit
sprotected void
_updateIndex(Page odfRootPage)
Update the index from the observed event.-
Methods inherited from class org.ametys.plugins.odfweb.observation.solr.AbstractSolrOrgUnitObserver
observe, service, supports
-
Methods inherited from class org.ametys.web.indexing.observation.AbstractSolrObserver
_updateIndexReferencingPages, _updateIndexReferencingPages, getPriority
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
SolrOrgUnitChangedPart2Observer
public SolrOrgUnitChangedPart2Observer()
-
-
Method Detail
-
_supportedEventIds
protected String[] _supportedEventIds()
Description copied from class:AbstractSolrOrgUnitObserver
Gets the supported event ids for this Observer to look for theOrgUnit
s- Specified by:
_supportedEventIds
in classAbstractSolrOrgUnitObserver
- Returns:
- the supported event ids for this Observer
-
_updateIndex
protected void _updateIndex(Page odfRootPage) throws Exception
Description copied from class:AbstractSolrOrgUnitObserver
Update the index from the observed event.- Specified by:
_updateIndex
in classAbstractSolrOrgUnitObserver
- Parameters:
odfRootPage
- the odf root page- Throws:
Exception
- if an error occurs.
-
-