public interface VaultSearchSession extends VaultQuerySession
This session provides methods for searching among Vault
objects. The search query is constructed using the VaultQuery.
getVaultsByQuery() is the basic search method and
returns a list of Vault objects.A more advanced search may
be performed with getVaultsBySearch(). It accepts a
VaultSearch in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getVaultsBySearch() returns a VaultSearchResults
that can be used to access the resulting VaultList or be
used to perform a search within the result set through VaultSearch.
Vaults may have a query record indicated by their respective record
types. The query record is accessed via the VaultQuery.
| Modifier and Type | Method and Description |
|---|---|
VaultQuery |
getVaultQueryFromInspector(VaultQueryInspector vaultQueryInspector)
Gets a vault query from an inspector.
|
VaultSearchResults |
getVaultsBySearch(VaultQuery vaultQuery,
VaultSearch vaultSearch)
Gets the search results matching the given search query using the
given search.
|
VaultSearch |
getVaultSearch()
Gets a vault search.
|
VaultSearchOrder |
getVaultSearchOrder()
Gets a vault search order.
|
canSearchVaults, getVaultQuery, getVaultsByQuerygetAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseVaultSearch getVaultSearch()
mandatory - This method must be implemented. VaultSearchOrder getVaultSearchOrder()
VaultSearchOrder is
supplied to a VaultSearch to specify the ordering of
results.mandatory - This method must be implemented. VaultSearchResults getVaultsBySearch(VaultQuery vaultQuery, VaultSearch vaultSearch) throws OperationFailedException, PermissionDeniedException
vaultQuery - the vault queryvaultSearch - the vault searchNullArgumentException - vaultQuery or
vaultSearch is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - vaultQuery or
vaultSearch is not of this servicemandatory - This method must be implemented. VaultQuery getVaultQueryFromInspector(VaultQueryInspector vaultQueryInspector)
VaultSearchResults. vaultQueryInspector - a vault query inspectorNullArgumentException - vaultQueryInspector
is null UnsupportedException - vaultQueryInspector
is not of this servicemandatory - This method must be implemented.