public interface GradebookSearchSession extends GradebookQuerySession
This session provides methods for searching among Gradebook
objects. The search query is constructed using the
GradebookQuery.
getGradebooksByQuery()
is the basic search method and
returns a list of Gradebook
objects.A more advanced search
may be performed with getGradebooksBySearch().
It accepts a
GradebookSearch
in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getGradebooksBySearch()
returns a
GradebookSearchResults
that can be used to access the resulting
GradebookList
or be used to perform a search within the
result set through GradebookSearch.
Gradebooks may have a query record indicated by their respective
record types. The query record is accessed via the GradebookQuery.
Modifier and Type | Method and Description |
---|---|
GradebookQuery |
getGradebookQueryFromInspector(GradebookQueryInspector gradebookQueryInspector)
Gets a gradebook query from an inspector.
|
GradebookSearchResults |
getGradebooksBySearch(GradebookQuery gradebookQuery,
GradebookSearch gradebookSearch)
Gets the search results matching the given search query using the
given search.
|
GradebookSearch |
getGradebookSearch()
Gets a gradebook search.
|
GradebookSearchOrder |
getGradebookSearchOrder()
Gets a gradebook search order.
|
canSearchGradebooks, getGradebookQuery, getGradebooksByQuery
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
GradebookSearch getGradebookSearch()
mandatory
- This method must be implemented. GradebookSearchOrder getGradebookSearchOrder()
GradebookSearchOrder
is supplied to a GradebookSearch
to specify the
ordering of results.mandatory
- This method must be implemented. GradebookSearchResults getGradebooksBySearch(GradebookQuery gradebookQuery, GradebookSearch gradebookSearch) throws OperationFailedException, PermissionDeniedException
gradebookQuery
- the gradebook querygradebookSearch
- the gradebook searchNullArgumentException
- gradebookQuery
or gradebookSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- gradebookQuery
or
gradebookSearch
is not of this servicemandatory
- This method must be implemented. GradebookQuery getGradebookQueryFromInspector(GradebookQueryInspector gradebookQueryInspector)
GradenookSearchResults.
gradebookQueryInspector
- a gradebook query inspectorNullArgumentException
- gradebookQueryInspector
is null
UnsupportedException
- gradebookQueryInspector
is not of this servicemandatory
- This method must be implemented.