public class SolrContentValidatedObserver extends AbstractSolrContentObserver
Modifier and Type | Field and Description |
---|---|
protected OrganisationChartPageResolver |
_oCPageResolver
The organisation chart page resolver
|
protected UserDirectoryPageResolver |
_uDPageResolver
The user directory page resolver
|
_solrPageIndexer
_cocoonContext, _contentTypeHelper, _context, _organisationChartPageResolver, _resolver, _userDirectoryPageResolver, _zoneItemCache
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
SolrContentValidatedObserver() |
Modifier and Type | Method and Description |
---|---|
protected Page |
_getContentPage(Page rootContentPage,
Content content)
Get content page
|
protected void |
_internalObserve(Event event,
Page rootContentPage,
Content content)
Do the actual work.
|
void |
service(ServiceManager manager) |
boolean |
supports(Event event)
Checks if the event is supported.
|
getPriority
_getOrgUnitRootPages, _getTarget, _getUserRootPages, _isOrgUnitContent, _isUserContent, _removeZoneItemCache, contextualize, observe
getLogger, setLogger
protected UserDirectoryPageResolver _uDPageResolver
protected OrganisationChartPageResolver _oCPageResolver
public SolrContentValidatedObserver()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractSolrContentObserver
ServiceException
public boolean supports(Event event)
Observer
event
- the event.true
for observing this event, false
otherwise.protected void _internalObserve(Event event, Page rootContentPage, Content content)
AbstractContentObserver
_internalObserve
in class AbstractContentObserver
event
- the observation event.rootContentPage
- the page holding the virtual user pagescontent
- a list containing all impacted user contents.protected Page _getContentPage(Page rootContentPage, Content content)
rootContentPage
- the root content pagecontent
- the content