public interface ObjectiveSearchSession extends ObjectiveQuerySession
This session provides methods for searching Objective
objects. The search query is constructed using the ObjectiveQuery.
The objective record Type also specifies the record
for the objective query.
getObjectivesByQuery() is the basic search method and
returns a list of Objectives. A more advanced search may be
performed with getObjectivesBySearch(). It accepts a
ObjectiveSearch in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getObjectivesBySearch() returns an
ObjectiveSearchResults that can be used to access the resulting
ObjectiveList or be used to perform a search within the
result set through ObjectiveSearch.
This session defines views that offer differing behaviors for searching.
Objectives may have a query record indicated by their respective
record types. The query record is accessed via the ObjectiveQuery.
| Modifier and Type | Method and Description |
|---|---|
ObjectiveQuery |
getObjectiveQueryFromInspector(ObjectiveQueryInspector objectiveQueryInspector)
Gets an objective query from an inspector.
|
ObjectiveSearchResults |
getObjectivesBySearch(ObjectiveQuery objectiveQuery,
ObjectiveSearch objectiveSearch)
Gets the search results matching the given search query using the
given search.
|
ObjectiveSearch |
getObjectiveSearch()
Gets an objective search.
|
ObjectiveSearchOrder |
getObjectiveSearchOrder()
Gets a n objective search order.
|
canSearchObjectives, getObjectiveBank, getObjectiveBankId, getObjectiveQuery, getObjectivesByQuery, useFederatedObjectiveBankView, useIsolatedObjectiveBankViewgetAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseObjectiveSearch getObjectiveSearch()
mandatory - This method must be implemented. ObjectiveSearchOrder getObjectiveSearchOrder()
ObjectiveSearchOrder
is supplied to an ObjectiveSearch to specify
the ordering of results.mandatory - This method must be implemented. ObjectiveSearchResults getObjectivesBySearch(ObjectiveQuery objectiveQuery, ObjectiveSearch objectiveSearch) throws OperationFailedException, PermissionDeniedException
objectiveQuery - the objective search queryobjectiveSearch - the objective searchNullArgumentException - objectiveQuery
or objectiveSearch is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - objectiveSearch
or objectiveQuery is not of this servicemandatory - This method must be implemented. ObjectiveQuery getObjectiveQueryFromInspector(ObjectiveQueryInspector objectiveQueryInspector)
ObjectiveSearchResults. objectiveQueryInspector - an objective bank query inspectorNullArgumentException - objectiveQueryInspector
is null UnsupportedException - objectiveQueryInspector
is not of this servicemandatory - This method must be implemented.