SAP NetWeaver '04

com.sapportals.wcm.service.crawler
Interface ICrawlerListResultReceiver

[contained in: com.sap.km.cm.service.base.par - km.shared.service.crawler_api.jar]
All Superinterfaces:
ICrawlerResultReceiver
All Known Subinterfaces:
ISpecialCrawler
All Known Implementing Classes:
AbstractListResultReceiver

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

public interface ICrawlerListResultReceiver
extends ICrawlerResultReceiver

A result receiver for all found resources in one list.

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
static int INFINITE_SIZE
          Deprecated. Constant for an infinite result list size (complete result set).
 
Method Summary
 int getCrawlerResultSize()
          Deprecated. Get the maximum result size for this crawl.
 void onCrawlResult(IResourceList resourceList)
          Deprecated. Inform the receiver about the crawling result.
 
Methods inherited from interface com.sapportals.wcm.service.crawler.ICrawlerResultReceiver
getCrawlerContext, getCrawlerName, onCrawlException, onCrawlStart, onCrawlStop
 

Field Detail

INFINITE_SIZE

public static final int INFINITE_SIZE
Deprecated. 
Constant for an infinite result list size (complete result set).
Method Detail

getCrawlerResultSize

public int getCrawlerResultSize()
Deprecated. 
Get the maximum result size for this crawl. This method is called once after getCrawlerContext().
Returns:
an int with the maximum result size. A result size less then 1 will stop the crawler.

onCrawlResult

public void onCrawlResult(IResourceList resourceList)
Deprecated. 
Inform the receiver about the crawling result. This method is called before onCrawlStop()
Parameters:
an - IResourceList with the found resources. The list contains at most x resources, where x is the value from getCrawlerResultSize().

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.