Package com.documentum.fc.client.search
Interface IDfSearchSource
public interface IDfSearchSource
Represents a source for executing a query. Query supports multiple sources of different types.
Currently only types of
SRC_TYPE_DOCBASE
and SRC_TYPE_EXTERNAL
are
supported.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Supports search for all versions of objects.static final String
The adapter to the source is setup with a default account (user login optional).static final String
Supports automatic duplicate removal.static final String
Supports FTDQL semantics.static final String
Supports searching hidden objects.static final String
Supports logical OR operation between expressions of a set.static final String
Supports login.static final String
Supports TRY_FTDQL_FIRST Hint.static final String
The user can provide credentials to authenticate to the source.static final int
Internal default source type (repository).static final int
Source type of a Documentum repository.static final int
External (non-repository) source type.static final int
Internal source type used to identify uninitialized instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
areMetadataWildcardsSupported
(IDfSessionManager sessionManager) Indicates if wildcards in metadata searches can be used with this source.Gets the (optional) source description.Gets the home URL of this search source.getName()
Gets the name of the source.int
getType()
Gets the Search Source type of the current instance.boolean
hasCapability
(String capability) Gets the specified source capability.boolean
isFacetSupported
(IDfSessionManager sessionManager) Indicates if the source supports facets.boolean
isRangeAccessSupported
(IDfSessionManager sessionManager) Indicates if the source supports range access.
-
Field Details
-
SRC_TYPE_UNDEFINED
static final int SRC_TYPE_UNDEFINEDInternal source type used to identify uninitialized instance.- See Also:
-
SRC_TYPE_DOCBASE
static final int SRC_TYPE_DOCBASESource type of a Documentum repository.- See Also:
-
SRC_TYPE_EXTERNAL
static final int SRC_TYPE_EXTERNALExternal (non-repository) source type.- See Also:
-
SRC_TYPE_DEFAULT
static final int SRC_TYPE_DEFAULTInternal default source type (repository).- See Also:
-
CAP_LOGICAL_OR_EXPR_SET
Supports logical OR operation between expressions of a set.- See Also:
-
CAP_HIDDEN_OBJ
Supports searching hidden objects.- See Also:
-
CAP_ALL_VERSIONS
Supports search for all versions of objects.- See Also:
-
CAP_DUPLICATE_REMOVAL
Supports automatic duplicate removal.- See Also:
-
CAP_FTDQL
Supports FTDQL semantics.- See Also:
-
CAP_TRY_FTDQL_FIRST
Supports TRY_FTDQL_FIRST Hint.- See Also:
-
CAP_LOGIN
Supports login.- See Also:
-
CAP_USER_LOGIN
The user can provide credentials to authenticate to the source. If the source does not have this capability, then it should have the #CAP_CORPORATE_LOGIN capability. This capability can be cumulated with #CAP_CORPORATE_LOGIN. In this case, the user can either choose to provide credential or relies on the default one.- See Also:
-
CAP_DEFAULT_LOGIN
The adapter to the source is setup with a default account (user login optional).- See Also:
-
-
Method Details
-
getType
int getType()Gets the Search Source type of the current instance. Can be one of the folloing:- Returns:
- The search source type.
-
getName
String getName()Gets the name of the source.- Returns:
- The name of the source.
-
getDescription
String getDescription()Gets the (optional) source description.- Returns:
- The source description; empty string if no description is provided.
-
getHomeURL
URL getHomeURL()Gets the home URL of this search source.- Returns:
- The home URL; or null if none (like for repositories).
-
hasCapability
Gets the specified source capability.- Parameters:
capability
- can be one of the following:- Returns:
true
, if specified capability is supported.
-
isFacetSupported
Indicates if the source supports facets. One can use the facets methods available in IDfQueryBuilder and IDfQueryProcessor -
isRangeAccessSupported
Indicates if the source supports range access. -
areMetadataWildcardsSupported
Indicates if wildcards in metadata searches can be used with this source.
-