Package com.documentum.fc.client.search
Interface IDfSearchStoreService
public interface IDfSearchStoreService
Provides access to services for search storage.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSearch
(String name, String description, IDfSmartListDefinition smartListDefinition, IDfResultsSet resultSet, IDfQueryStatus queryStatus) Creates a new search prior to storing it.boolean
existsSearch
(String objectName, boolean inMySearches, String folderId) Checks whether a search with the same name already exists in the database.Deprecated.Use getAllSearches(IDfSession) insteadgetAllSearches
(IDfSession session) Returns all searches from this repository, including all of the user's searches and any shared searches.Deprecated.Use getCurrentUserSearches(IDfSession) insteadgetCurrentUserSearches
(IDfSession session) Returns only the user's searches from this repository.loadSearch
(String ObjectId) Gets a Search (before a load) using the ID.boolean
Checks whether the new store search attributes are available in the repository.
-
Method Details
-
getAllSearches
Returns all searches from this repository, including all of the user's searches and any shared searches.- Returns:
- An IDfCollection.
- Throws:
DfException
-
getAllSearches
Deprecated.Use getAllSearches(IDfSession) insteadReturns all searches from this repository, including all of the user's searches and any shared searches.- Returns:
- An IDfCollection.
- Throws:
DfException
-
getCurrentUserSearches
Returns only the user's searches from this repository.- Returns:
- An IDfCollection.
- Throws:
DfException
-
getCurrentUserSearches
Deprecated.Use getCurrentUserSearches(IDfSession) insteadReturns only the user's searches from this repository.- Returns:
- An IDfCollection.
- Throws:
DfException
-
existsSearch
Checks whether a search with the same name already exists in the database. This is intended to be used prior to saving a new search to ensure it has a unique name.- Parameters:
objectName
-inMySearches
-folderId
-- Returns:
true
, if another search exists with the same name.- Throws:
DfException
-
loadSearch
Gets a Search (before a load) using the ID. This is a dm_smart_list object ID, used when a user selects a search in the searchList to view it.- Parameters:
ObjectId
- The Search object ID.- Returns:
- The dm_smart_list object ID.
- Throws:
DfException
-
createSearch
IDfSmartList createSearch(String name, String description, IDfSmartListDefinition smartListDefinition, IDfResultsSet resultSet, IDfQueryStatus queryStatus) throws DfException Creates a new search prior to storing it.- Parameters:
name
- The search name.description
- The search description.smartListDefinition
- The IDfSmartListDefinition instance.resultSet
- The IDfResultsSet instance.queryStatus
- The IDfQueryStatus instance.- Returns:
- The created dm_smart_list object ID.
- Throws:
DfException
-
supportsResultsStorage
Checks whether the new store search attributes are available in the repository.- Returns:
true
, if the repository supports search storage.- Throws:
DfException
-