public interface CourseCatalogSearchSession extends CourseCatalogQuerySession
This session provides methods for searching among CourseCatalog
objects. The search query is constructed using the
CourseCatalogQuery.
getCourseCatalogsByQuery()
is the basic search method
and returns a list of CourseCatalogs.
A more advanced
search may be performed with getCourseCatalogsBySearch().
It accepts a CourseCatalogSearch
in addition to the query
for the purpose of specifying additional options affecting the entire
search, such as ordering. getCourseCatalogsBySearch()
returns a CourseCatalogSearchResults
that can be used to
access the resulting CourseCatalogList
or be used to
perform a search within the result set through CourseCatalogSearch.
This session defines views that offer differing behaviors for searching.
Course catalogs may have a query record indicated by their respective
record types. The query record is accessed via the
CourseCatalogQuery.
Modifier and Type | Method and Description |
---|---|
CourseCatalogQuery |
getCourseCatalogQueryFromInspector(CourseCatalogQueryInspector courseCatalogQueryInspector)
Gets a course catalog query from an inspector.
|
CourseCatalogSearchResults |
getCourseCatalogsBySearch(CourseCatalogQuery courseCatalogQuery,
CourseCatalogSearch courseCatalogSearch)
Gets the search results matching the given search query using the
given search.
|
CourseCatalogSearch |
getCourseCatalogSearch()
Gets a course catalog search.
|
CourseCatalogSearchOrder |
getCourseCatalogSearchOrder()
Gets a course catalog search order.
|
canSearchCourseCatalogs, getCourseCatalogQuery, getCourseCatalogsByQuery
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
CourseCatalogSearch getCourseCatalogSearch()
mandatory
- This method must be implemented. CourseCatalogSearchOrder getCourseCatalogSearchOrder()
CourseCatalogSearchOrder
is supplied to a
CourseCatalogSearch
to specify the ordering of results.mandatory
- This method must be implemented. CourseCatalogSearchResults getCourseCatalogsBySearch(CourseCatalogQuery courseCatalogQuery, CourseCatalogSearch courseCatalogSearch) throws OperationFailedException, PermissionDeniedException
courseCatalogQuery
- the course catalog querycourseCatalogSearch
- the course catalog searchNullArgumentException
- courseCatalogQuery
or courseCatalogSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- courseCatalogQuery
or courseCatalogSearch
is not of this
servicemandatory
- This method must be implemented. CourseCatalogQuery getCourseCatalogQueryFromInspector(CourseCatalogQueryInspector courseCatalogQueryInspector)
CourseCatalogSearchResults.
courseCatalogQueryInspector
- a course catalog query inspectorNullArgumentException
-
courseCatalogQueryInspector
is null
UnsupportedException
-
courseCatalogQueryInspector
is not of this servicemandatory
- This method must be implemented.