|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A result receiver which handles found resources as a delta to a formerly found list of resource one by one. Note: The receivers must implement a default constructor to have them created by the crawler service after a system (re)start.
Copyright 2004 SAP AG
| Field Summary |
| Fields inherited from interface com.sapportals.wcm.service.crawler.ICrawlerPushedResultReceiver |
RESULT_CANCEL, RESULT_ERROR_DELETE, RESULT_ERROR_EXCLUDE, RESULT_ERROR_RETRY, RESULT_IGNORED, RESULT_OK |
| Method Summary | |
int |
onCrawlChanged(IResource resource)
Deprecated. Inform the receiver about a changed resource. |
int |
onCrawlDeleted(RID resourceID)
Deprecated. Inform the receiver about a deleted resource. |
int |
onCrawlNew(IResource resource)
Deprecated. Inform the receiver about a newly found resource. |
int |
onCrawlUnvisited(IResource resource)
Deprecated. Inform the receiver about a unvisited resource (a resource that has been crawled before, but has not been referenced by other resources beginning at the given start resources and is still accessable). |
int |
onCrawlUnvisitedChanged(IResource resource)
Deprecated. Inform the receiver about a unvisited resource (a resource that has been crawled before, but has not been referenced by other resources beginning at the given start resources and is still accessable and has changed). |
int |
onCrawlUnvisitedDeleted(RID resourceID)
Deprecated. Inform the receiver about a unvisited resource (a resource that has been crawled before, but has not been referenced by other resources beginning at the given start resources and is already deleted). |
| Methods inherited from interface com.sapportals.wcm.service.crawler.ICrawlerPushedResultReceiver |
onCrawlDown, onCrawlNext, onCrawlUp |
| Methods inherited from interface com.sapportals.wcm.service.crawler.ICrawlerResultReceiver |
getCrawlerContext, getCrawlerName, onCrawlException, onCrawlStart, onCrawlStop |
| Method Detail |
public int onCrawlNew(IResource resource)
throws WcmException
getCrawlerContext() and onCrawlStop().
boolean true if the crawler should
continue with the delta crawling, false if crawling
should be stopped.
WcmException
public int onCrawlChanged(IResource resource)
throws WcmException
getCrawlerContext() and onCrawlStop().
boolean true if the crawler should
continue with the delta crawling, false if crawling
should be stopped.
WcmException
public int onCrawlDeleted(RID resourceID)
throws WcmException
getCrawlerContext() and onCrawlStop() and after
calls to onCrawlNew() and onCrawlChanged().
boolean true if the crawler should
continue with the delta crawling, false if crawling
should be stopped.
WcmException
public int onCrawlUnvisited(IResource resource)
throws WcmException
getCrawlerContext() and onCrawlStop() and after
calls to onCrawlNew() and onCrawlChanged().
boolean true if the crawler should
continue with the delta crawling, false if crawling
should be stopped.
WcmException
public int onCrawlUnvisitedChanged(IResource resource)
throws WcmException
getCrawlerContext() and onCrawlStop() and after
calls to onCrawlNew() and onCrawlChanged().
boolean true if the crawler should
continue with the delta crawling, false if crawling
should be stopped.
WcmException
public int onCrawlUnvisitedDeleted(RID resourceID)
throws WcmException
getCrawlerContext() and onCrawlStop() and after
calls to onCrawlNew() and onCrawlChanged().
boolean true if the crawler should
continue with the delta crawling, false if crawling
should be stopped.
WcmException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||