|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.search.CmsSearchManager.CmsSearchOfflineHandler
protected class CmsSearchManager.CmsSearchOfflineHandler
Handles offline index generation.
Field Summary |
---|
Constructor Summary | |
---|---|
protected |
CmsSearchManager.CmsSearchOfflineHandler()
Initializes the offline index handler. |
Method Summary | |
---|---|
protected void |
addResourcesToIndex(java.util.List<CmsPublishedResource> resourcesToIndex)
Adds a list of CmsPublishedResource objects to be indexed. |
void |
cmsEvent(CmsEvent event)
Implements the event listener of this class. |
protected java.util.List<CmsPublishedResource> |
getResourcesToIndex()
Returns the list of CmsPublishedResource objects to index. |
protected void |
initialize()
Initializes this offline search handler, registering the event handlers if required. |
protected void |
reIndexResources(java.util.List<CmsResource> resources)
Updates all offline indexes for the given list of CmsResource objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CmsSearchManager.CmsSearchOfflineHandler()
Method Detail |
---|
public void cmsEvent(CmsEvent event)
cmsEvent
in interface I_CmsEventListener
event
- CmsEvent that has occurredI_CmsEventListener.cmsEvent(org.opencms.main.CmsEvent)
protected void addResourcesToIndex(java.util.List<CmsPublishedResource> resourcesToIndex)
CmsPublishedResource
objects to be indexed.
resourcesToIndex
- the list of CmsPublishedResource
objects to be indexedprotected java.util.List<CmsPublishedResource> getResourcesToIndex()
CmsPublishedResource
objects to index.
protected void initialize()
protected void reIndexResources(java.util.List<CmsResource> resources)
CmsResource
objects.
resources
- a list of CmsResource
objects to update in the offline indexes
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |