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
Abstract
AsyncObserver
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected Content
_getTarget
(Event event) Retrieve the target of the observerMethods 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 Details
-
AbstractSolrContentAsyncObserver
public AbstractSolrContentAsyncObserver()
-
-
Method Details
-
_getTarget
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
-