com.sapportals.wcm.service.crawler

Interface ICrawlerProfile


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

public interface ICrawlerProfile

A parameter-set for a ICrawler.

Copyright 2004 SAP AG


Method Summary
 boolean getCaseSensitiveFlag()
          Deprecated. Get the case sensitive flag.
 long getContentSizeLimit()
          Deprecated. Get the content size limit.
 String getCrawlerType()
          Deprecated. Get the crawler type to use for the crawl.
 int getDepth()
          Deprecated. Get the maximum crawling depth to use for the crawl.
 String getDescription(Locale locale)
          Deprecated. Get the profile's description.
 int getExternalLinkDepth()
          Deprecated. Get the maximum crawling depth for external links to use for the crawl.
 int getHierarchicalCrawlMode()
          Deprecated. Get the mode for a hierachical crawl.
 String getID()
          Deprecated. Get the profile ID.
 boolean getIncludeVersionsFlag()
          Deprecated. Check if the flag to include versions of resources is set.
 int getInternalLinkDepth()
          Deprecated. Get the maximum crawling depth for internal links to use for the crawl.
 int getNiceness()
          Deprecated. Get the niceness factor to use for the crawl.
 int getPriority()
          Deprecated. Get the priority to use for the crawl.
 IGenericQuery getPropertyQuery()
          Deprecated. Get the query expression for searching the properties.
 long getTimeLimit()
          Deprecated. Get the time limit to use for the crawl.
 

Method Detail

getID

public String getID()
Deprecated. 
Get the profile ID.

Returns:
a String with the profile's unique ID.

getDescription

public String getDescription(Locale locale)
Deprecated. 
Get the profile's description.

Returns:
a String with the profile's description.

getCrawlerType

public String getCrawlerType()
                      throws WcmException
Deprecated. 
Get the crawler type to use for the crawl.

Returns:
a String with type of the crawler to use or null if the crawler service' default type should be used.
Throws:
WcmException - if the type cannot be retrieved.
WcmException

getDepth

public int getDepth()
             throws WcmException
Deprecated. 
Get the maximum crawling depth to use for the crawl.

Returns:
an int with the maximum depth to crawl.
Throws:
WcmException - if the depth cannot be retrieved.
WcmException

getInternalLinkDepth

public int getInternalLinkDepth()
                         throws WcmException
Deprecated. 
Get the maximum crawling depth for internal links to use for the crawl.

Returns:
an int with the maximum depth to crawl for internal links.
Throws:
WcmException - if the depth cannot be retrieved.
WcmException

getExternalLinkDepth

public int getExternalLinkDepth()
                         throws WcmException
Deprecated. 
Get the maximum crawling depth for external links to use for the crawl.

Returns:
an int with the maximum depth to crawl for external links.
Throws:
WcmException - if the depth cannot be retrieved.
WcmException

getIncludeVersionsFlag

public boolean getIncludeVersionsFlag()
                               throws WcmException
Deprecated. 
Check if the flag to include versions of resources is set.

Returns:
a boolean true if the flag is set and all versions should also be crawled, false if not.
Throws:
WcmException - if the flag cannot be retrieved.
WcmException

getPropertyQuery

public IGenericQuery getPropertyQuery()
                               throws WcmException
Deprecated. 
Get the query expression for searching the properties.

Returns:
a IGenericQuery with the query expression for the property search, null if not set.
Throws:
WcmException - if the query cannot be retrieved.
WcmException

getHierarchicalCrawlMode

public int getHierarchicalCrawlMode()
                             throws WcmException
Deprecated. 
Get the mode for a hierachical crawl.

Throws:
WcmException - if the mode cannot be retrieved.
WcmException

getNiceness

public int getNiceness()
                throws WcmException
Deprecated. 
Get the niceness factor to use for the crawl.

Returns:
an int with the niceness factor to use.
Throws:
WcmException - if the niceness factor cannot be retrieved.
WcmException

getPriority

public int getPriority()
                throws WcmException
Deprecated. 
Get the priority to use for the crawl.

Returns:
an int with the priority to use.
Throws:
WcmException - if the priority cannot be retrieved.
WcmException

getTimeLimit

public long getTimeLimit()
                  throws WcmException
Deprecated. 
Get the time limit to use for the crawl.

Returns:
a long with the time limit for the crawl in msec.
Throws:
WcmException - if the time limit cannot be retrieved.
WcmException

getCaseSensitiveFlag

public boolean getCaseSensitiveFlag()
                             throws WcmException
Deprecated. 
Get the case sensitive flag.

Returns:
a boolean true if the crawler should be case sensitive, false if RIDs are not case sensitive.
Throws:
WcmException - if the case sensitive flag cannot be retrieved.
WcmException

getContentSizeLimit

public long getContentSizeLimit()
                         throws WcmException
Deprecated. 
Get the content size limit.

Returns:
a long with the content size limit in bytes.
Throws:
WcmException - if the content sizelimt cannot be retrieved.
WcmException


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.