Package com.documentum.fc.client.search
Interface IDfSearchSourceMap
public interface IDfSearchSourceMap
Provides a facade to search source discovery.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether searching on external sources is enabled.int
Gets the count of available sources.Provides access to an enumeration of all available sources.getAvailableSources
(int sourceType) Provides access to an enumeration of available sources of a given type.Provides access to an individual source.
-
Method Details
-
areExternalSourcesEnabled
boolean areExternalSourcesEnabled()Indicates whether searching on external sources is enabled.- Returns:
true
, if external sources can be searched;false
, otherwise.
-
getAvailableSourceCount
Gets the count of available sources. This method only supports available sources accessible through DMCL.ini (for) repositories as well as accessible external sources provided by the configured FS2 Server (dfc.properties).- Returns:
- The total number of available sources.
- Throws:
DfException
- if an exception happened while accessing the source map.
-
getAvailableSources
Provides access to an enumeration of all available sources.- Returns:
- An enumeration of all available sources (IDfEnumeration of IDfSearchSource).
- Throws:
DfException
- If an exception happens while accessing the source map.
-
getAvailableSources
Provides access to an enumeration of available sources of a given type.- Parameters:
sourceType
- The type of the source that can be one of the following:- Returns:
- An enumeration of available sources of the specified type (IDfEnumeration of IDfSearchSource).
- Throws:
DfException
- If an exception happens while accessing the source map.
-
getSource
Provides access to an individual source.- Parameters:
sourceName
- The name of the source.- Returns:
- The corresponding source object; or
null
if the source is unknown. - Throws:
DfException
- If an exception happens while accessing the source map.
-