SAP NetWeaver '04

com.sapportals.wcm.service.crawler
Interface ICrawlerPushedDeltaResultReceiver

[contained in: com.sap.km.cm.service.base.par - km.shared.service.crawler_api.jar]
All Superinterfaces:
ICrawlerPushedResultReceiver, ICrawlerResultReceiver

Deprecated. as of NW04. The crawler service was replaced by the xcrawler service com.sapportals.wcm.service.xcrawler

public interface ICrawlerPushedDeltaResultReceiver
extends ICrawlerPushedResultReceiver

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


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

onCrawlNew

public int onCrawlNew(IResource resource)
               throws WcmException
Deprecated. 
Inform the receiver about a newly found resource. This method is called between the calls to getCrawlerContext() and onCrawlStop().
Parameters:
an - IResource with the newly found resource.
Returns:
a boolean true if the crawler should continue with the delta crawling, false if crawling should be stopped.

onCrawlChanged

public int onCrawlChanged(IResource resource)
                   throws WcmException
Deprecated. 
Inform the receiver about a changed resource. This method is called between the calls to getCrawlerContext() and onCrawlStop().
Parameters:
an - IResource with the changed resource.
Returns:
a boolean true if the crawler should continue with the delta crawling, false if crawling should be stopped.

onCrawlDeleted

public int onCrawlDeleted(RID resourceID)
                   throws WcmException
Deprecated. 
Inform the receiver about a deleted resource. This method is called between the calls to getCrawlerContext() and onCrawlStop() and after calls to onCrawlNew() and onCrawlChanged().
Parameters:
an - RID with the deleted resources ID.
Returns:
a boolean true if the crawler should continue with the delta crawling, false if crawling should be stopped.

onCrawlUnvisited

public int onCrawlUnvisited(IResource resource)
                     throws WcmException
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). This method is called between the calls to getCrawlerContext() and onCrawlStop() and after calls to onCrawlNew() and onCrawlChanged().
Parameters:
an - IResource with the unvisited resource.
Returns:
a boolean true if the crawler should continue with the delta crawling, false if crawling should be stopped.

onCrawlUnvisitedChanged

public int onCrawlUnvisitedChanged(IResource resource)
                            throws WcmException
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). This method is called between the calls to getCrawlerContext() and onCrawlStop() and after calls to onCrawlNew() and onCrawlChanged().
Parameters:
an - IResource with the unvisited resource.
Returns:
a boolean true if the crawler should continue with the delta crawling, false if crawling should be stopped.

onCrawlUnvisitedDeleted

public int onCrawlUnvisitedDeleted(RID resourceID)
                            throws WcmException
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). This method is called between the calls to getCrawlerContext() and onCrawlStop() and after calls to onCrawlNew() and onCrawlChanged().
Parameters:
an - RID with the deleted resources ID.
Returns:
a boolean true if the crawler should continue with the delta crawling, false if crawling should be stopped.

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.