SAP NetWeaver '04

com.sapportals.wcm.service.crawler
Interface ICrawlerVisitedEntry

[contained in: com.sap.km.cm.service.base.par - km.shared.service.crawler_api.jar]
Deprecated. as of NW04. The crawler service was replaced by the xcrawler service com.sapportals.wcm.service.xcrawler

public interface ICrawlerVisitedEntry

An entry from the ICrawlerVisitedList.

Copyright 2004 SAP AG


Method Summary
 int getDepth()
          Deprecated. Get the depth for this entry.
 java.util.Date getLastStateChangeDate()
          Deprecated. Get the timestamp of the last state change.
 IResource getResource(IResourceContext context)
          Deprecated. Get the resource for the RID of this entry.
 RID getRID()
          Deprecated. Get the RID of this entry.
 boolean isError()
          Deprecated. Check, if this entry is marked as error (it's URL was found, but the resource could not be retrieved).
 boolean isExcluded()
          Deprecated. Check, if this entry is marked as excluded and won't be crawled at all.
 boolean isFound()
          Deprecated. Check, if this entry is marked as found (was found by the crawler but not yet processed by the result receiver).
 boolean isVisited()
          Deprecated. Check, if this entry is marked as visited (was processed by the result receiver).
 boolean wasLimited()
          Deprecated. Check, if this entry is marked as excluded by a matching limit and wasn't crawled last time (e.g. if the content size limit matched).
 

Method Detail

getRID

public RID getRID()
Deprecated. 
Get the RID of this entry.

getResource

public IResource getResource(IResourceContext context)
                      throws WcmException
Deprecated. 
Get the resource for the RID of this entry.
Parameters:
context - the IResourceContext with the context to use for accessing the resource.
Returns:
a IResource with the resource for the given RID or null if the resource was not found (e.g. deleted).
Throws:
WcmException - if an error occured.

isFound

public boolean isFound()
Deprecated. 
Check, if this entry is marked as found (was found by the crawler but not yet processed by the result receiver).
Returns:
a boolean true if the entry is marked as found.

isVisited

public boolean isVisited()
Deprecated. 
Check, if this entry is marked as visited (was processed by the result receiver).
Returns:
a boolean true if the entry is marked as visited.

isError

public boolean isError()
Deprecated. 
Check, if this entry is marked as error (it's URL was found, but the resource could not be retrieved).
Returns:
a boolean true if the entry is marked as error.

isExcluded

public boolean isExcluded()
Deprecated. 
Check, if this entry is marked as excluded and won't be crawled at all.
Returns:
a boolean true if the entry is marked as excluded.

wasLimited

public boolean wasLimited()
Deprecated. 
Check, if this entry is marked as excluded by a matching limit and wasn't crawled last time (e.g. if the content size limit matched).
Returns:
a boolean true if the entry is marked as excluded by a matching limit.

getLastStateChangeDate

public java.util.Date getLastStateChangeDate()
Deprecated. 
Get the timestamp of the last state change.
Returns:
a Date with the timestamp of the last state change.

getDepth

public int getDepth()
Deprecated. 
Get the depth for this entry.
Returns:
a int with the depth of this entry.

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.