public class SolrPageMovePart2Observer extends AbstractLiveSolrObserver
Observer
for observing page move in order to synchronize
Solr index associated.Modifier and Type | Field and Description |
---|---|
private Repository |
_repository |
private SkinsManager |
_skinsManager |
private SynchronizeComponent |
_synchronizeHelper |
_context, _resolver, _solrIndexer, _solrPageIndexer
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
SolrPageMovePart2Observer() |
Modifier and Type | Method and Description |
---|---|
protected void |
_updateIndex(Event event,
Map<String,Object> transientVars)
Update the index from the event observed.
|
void |
service(ServiceManager manager) |
boolean |
supports(Event event)
Checks if the event is supported.
|
_deletePageDocumentsForContent, _getPageInLive, _updatePageDocument, _updatePageDocument, _updatePageDocumentsForContent, contextualize, getPriority, observe
getLogger, setLogger
private SkinsManager _skinsManager
private Repository _repository
private SynchronizeComponent _synchronizeHelper
public SolrPageMovePart2Observer()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractLiveSolrObserver
ServiceException
public boolean supports(Event event)
Observer
event
- the event.true
for observing this event, false
otherwise.protected void _updateIndex(Event event, Map<String,Object> transientVars) throws Exception
AbstractLiveSolrObserver
_updateIndex
in class AbstractLiveSolrObserver
event
- the event.transientVars
- the transient vars passed from one Observer to another when processing a single Event.Exception
- if an error occurs.