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 Complete Copyright Notice