public interface IDfSearchStoreService
Modifier and Type | Method and Description |
---|---|
IDfSmartList |
createSearch(java.lang.String name,
java.lang.String description,
IDfSmartListDefinition smartListDefinition,
IDfResultsSet resultSet,
IDfQueryStatus queryStatus)
Creates a new search prior to storing it.
|
boolean |
existsSearch(java.lang.String objectName,
boolean inMySearches,
java.lang.String folderId)
Checks whether a search with the same name already
exists in the database.
|
IDfCollection |
getAllSearches()
Deprecated.
Use getAllSearches(IDfSession) instead
|
IDfCollection |
getAllSearches(IDfSession session)
Returns all searches from this repository, including
all of the user's searches and any shared searches.
|
IDfCollection |
getCurrentUserSearches()
Deprecated.
Use getCurrentUserSearches(IDfSession) instead
|
IDfCollection |
getCurrentUserSearches(IDfSession session)
Returns only the user's searches from this repository.
|
IDfSmartList |
loadSearch(java.lang.String ObjectId)
Gets a Search (before a load) using the ID.
|
boolean |
supportsResultsStorage()
Checks whether the new store search attributes are available in the repository.
|
IDfCollection getAllSearches(IDfSession session) throws DfException
DfException
IDfCollection getAllSearches() throws DfException
DfException
IDfCollection getCurrentUserSearches(IDfSession session) throws DfException
DfException
IDfCollection getCurrentUserSearches() throws DfException
DfException
boolean existsSearch(java.lang.String objectName, boolean inMySearches, java.lang.String folderId) throws DfException
objectName
- inMySearches
- folderId
- true
, if another search exists with the same name.DfException
IDfSmartList loadSearch(java.lang.String ObjectId) throws DfException
ObjectId
- The Search object ID.DfException
IDfSmartList createSearch(java.lang.String name, java.lang.String description, IDfSmartListDefinition smartListDefinition, IDfResultsSet resultSet, IDfQueryStatus queryStatus) throws DfException
name
- The search name.description
- The search description.smartListDefinition
- The IDfSmartListDefinition instance.resultSet
- The IDfResultsSet instance.queryStatus
- The IDfQueryStatus instance.DfException
boolean supportsResultsStorage() throws DfException
true
, if the repository supports search storage.DfException
Copyright 1994-2023 OpenText Corporation. All rights reserved.