Class AbstractSolrContentAsyncObserver
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.userdirectory.observation.AbstractContentObserver
-
- org.ametys.plugins.userdirectory.observation.AbstractSolrContentObserver
-
- org.ametys.plugins.userdirectory.observation.AbstractSolrContentAsyncObserver
-
- All Implemented Interfaces:
AsyncObserver
,Observer
,LogEnabled
,Contextualizable
,Serviceable
- Direct Known Subclasses:
SolrContentModifiedObserver
public abstract class AbstractSolrContentAsyncObserver extends AbstractSolrContentObserver implements AsyncObserver
AbstractAsyncObserver
for synchronizing the Solr indexes.
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.userdirectory.observation.AbstractSolrContentObserver
_oCPageResolver, _solrPageIndexer, _uDPageResolver
-
Fields inherited from class org.ametys.plugins.userdirectory.observation.AbstractContentObserver
_cocoonContext, _contentTypeHelper, _context, _organisationChartPageResolver, _resolver, _userDirectoryPageResolver, _zoneItemCache
-
Fields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description AbstractSolrContentAsyncObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Content
_getTarget(Event event)
Retrieve the target of the observer-
Methods inherited from class org.ametys.plugins.userdirectory.observation.AbstractSolrContentObserver
_getContentPage, getPriority, service
-
Methods inherited from class org.ametys.plugins.userdirectory.observation.AbstractContentObserver
_getOrgUnitRootPages, _getUserRootPages, _internalObserve, _isOrgUnitContent, _isUserContent, _removeZoneItemCache, contextualize, observe
-
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.core.observation.AsyncObserver
parallelizable
-
Methods inherited from interface org.ametys.core.observation.Observer
getPriority, observe, supports
-
-
-
-
Constructor Detail
-
AbstractSolrContentAsyncObserver
public AbstractSolrContentAsyncObserver()
-
-
Method Detail
-
_getTarget
protected Content _getTarget(Event event) throws Exception
Description copied from class:AbstractContentObserver
Retrieve the target of the observer- Overrides:
_getTarget
in classAbstractContentObserver
- Parameters:
event
- The event- Returns:
- The target
- Throws:
Exception
- if failed to get content
-
-