public abstract class AbstractSolrContentObserver extends AbstractContentObserver
Observer
for synchronizing the Solr indexes.Modifier and Type | Field and Description |
---|---|
protected SolrPageIndexer |
_solrPageIndexer
The Solr page indexer.
|
_cocoonContext, _contentTypeHelper, _context, _organisationChartPageResolver, _resolver, _userDirectoryPageResolver, _zoneItemCache
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
AbstractSolrContentObserver() |
Modifier and Type | Method and Description |
---|---|
int |
getPriority(Event event)
Retrieves the priority to observe this event.
This can be used to process a supported event before others observers. |
void |
service(ServiceManager manager) |
_getOrgUnitRootPages, _getTarget, _getUserRootPages, _internalObserve, _isOrgUnitContent, _isUserContent, _removeZoneItemCache, contextualize, observe
getLogger, setLogger
protected SolrPageIndexer _solrPageIndexer
public AbstractSolrContentObserver()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractContentObserver
ServiceException
public int getPriority(Event event)
Observer
event
- the event.