public interface CourseOfferingSearchSession extends CourseOfferingQuerySession
This session provides methods for searching among CourseOffering
objects. The search query is constructed using the
CourseOfferingQuery.
getCourseOfferingsByQuery()
is the basic search method
and returns a list of CourseOfferings.
A more advanced
search may be performed with getCourseOfferingsBySearch().
It accepts a CourseOfferingSearch
in addition to the query
for the purpose of specifying additional options affecting the entire
search, such as ordering. getCourseOfferingsBySearch()
returns a CourseOfferingSearchResults
that can be used to
access the resulting CourseOfferingList
or be used to
perform a search within the result set through
CourseOfferingSearch.
This session defines views that offer differing behaviors for searching.
Course Offerings may have a query record indicated by their respective
record types. The queryrecord is accessed via the
CourseOfferingQuery.
Modifier and Type | Method and Description |
---|---|
CourseOfferingQuery |
getCourseOfferingQueryFromInspector(ItemQueryInspector courseOfferingQueryInspector)
Gets a course offering query from an inspector.
|
CourseOfferingSearchResults |
getCourseOfferingsBySearch(CourseOfferingQuery courseOfferingQuery,
CourseOfferingSearch courseOfferingSearch)
Gets the search results matching the given search query using the
given search.
|
CourseOfferingSearch |
getCourseOfferingSearch()
Gets a course offering search.
|
CourseOfferingSearchOrder |
getCourseOfferingSearchOrder()
Gets a course offering search order.
|
canSearchCourseOfferings, getCourseCatalog, getCourseCatalogId, getCourseOfferingQuery, getCourseOfferingsByQuery, useFederatedCourseCatalogView, useIsolatedCourseCatalogView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
CourseOfferingSearch getCourseOfferingSearch()
mandatory
- This method must be implemented. CourseOfferingSearchOrder getCourseOfferingSearchOrder()
CourseOfferingSearchOrder
is supplied to a
CourseOfferingSearch
to specify the ordering of results.mandatory
- This method must be implemented. CourseOfferingSearchResults getCourseOfferingsBySearch(CourseOfferingQuery courseOfferingQuery, CourseOfferingSearch courseOfferingSearch) throws OperationFailedException, PermissionDeniedException
courseOfferingQuery
- the course offering querycourseOfferingSearch
- the course offering searchNullArgumentException
- courseOfferingQuery
or courseOfferingSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- courseOfferingQuery
or courseOfferingSearch
is not of this
servicemandatory
- This method must be implemented. CourseOfferingQuery getCourseOfferingQueryFromInspector(ItemQueryInspector courseOfferingQueryInspector)
CourseOfferingSearchResults.
courseOfferingQueryInspector
- a course offering query inspectorNullArgumentException
-
courseOfferingQueryInspector
is null
UnsupportedException
-
courseOfferingQueryInspector
is not of this servicemandatory
- This method must be implemented.