public interface SettingSearchSession extends SettingQuerySession
This session provides methods for searching among Setting
objects. The search query is constructed using the
SettingQuery.
getSettingsByQuery()
is the basic search method and
returns a list of Settings.
A more advanced search may be
performed with getSettingsBySearch().
It accepts an
SettingSearch
in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getSettingsBySearch()
returns an
SettingSearchResults
that can be used to access the resulting
SettingList
or be used to perform a search within the
result set through SettingSearch.
This session defines views that offer differing behaviors for searching.
Settings may have a query record indicated by their respective record
types. The query record is accessed via the SettingQuery.
Modifier and Type | Method and Description |
---|---|
SettingQuery |
getSettingQueryFromInspector(SettingQueryInspector settingQueryInspector)
Gets a setting query from an inspector.
|
SettingSearchResults |
getSettingsBySearch(SettingQuery settingQuery,
SettingSearch settingSearch)
Gets the search results matching the given search query using the
given search.
|
SettingSearch |
getSettingSearch()
Gets a setting search.
|
SettingSearchOrder |
getSettingSearchOrder()
Gets a setting search order.
|
canSearchSettings, getSettingQuery, getSettingsByQuery, getSystem, getSystemId, useFederatedSystemView, useIsolatedSystemView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
SettingSearch getSettingSearch()
mandatory
- This method must be implemented. SettingSearchOrder getSettingSearchOrder()
SettingSearchOrder
is
supplied to a SettingSearch
to specify the ordering of
results.mandatory
- This method must be implemented. SettingSearchResults getSettingsBySearch(SettingQuery settingQuery, SettingSearch settingSearch) throws OperationFailedException, PermissionDeniedException
settingQuery
- the setting querysettingSearch
- the setting searchNullArgumentException
- settingQuery
or
settingSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- settingQuery
or
settingSearch
is not of this servicemandatory
- This method must be implemented. SettingQuery getSettingQueryFromInspector(SettingQueryInspector settingQueryInspector)
SettingSearchResults.
settingQueryInspector
- a setting query inspectorNullArgumentException
- settingQueryInspector
is null
UnsupportedException
- settingQueryInspector
is not of this servicemandatory
- This method must be implemented.