public interface ProgramSearchSession extends ProgramQuerySession
This session provides methods for searching among Programs.
The search query is constructed using the ProgramQuery.
getProgramsByQuery() is the basic search method and
returns a list of Programs. A more advanced search may be
performed with getProgramsBySearch(). It accepts a
ProgramSearch in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getProgramsBySearch() returns a
ProgramSearchResults that can be used to access the resulting
ProgramList or be used to perform a search within the
result set through ProgramSearch.
This session defines views that offer differing behaviors for searching.
Programs may have a query record indicated by their respective record
types. The query record is accessed via the ProgramQuery.
| Modifier and Type | Method and Description |
|---|---|
ProgramQuery |
getProgramQueryFromInspector(ProgramQueryInspector programQueryInspector)
Gets a program query from an inspector.
|
ProgramSearchResults |
getProgramsBySearch(ProgramQuery programQuery,
ProgramSearch programSearch)
Gets the search results matching the given search query using the
given search.
|
ProgramSearch |
getProgramSearch()
Gets a program search.
|
ProgramSearchOrder |
getProgramSearchOrder()
Gets a program search order.
|
canSearchPrograms, getCourseCatalog, getCourseCatalogId, getProgramQuery, getProgramsByQuery, useFederatedCourseCatalogView, useIsolatedCourseCatalogViewgetAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseProgramSearch getProgramSearch()
mandatory - This method must be implemented. ProgramSearchOrder getProgramSearchOrder()
ProgramSearchOrder is
supplied to a ProgramSearch to specify the ordering of
results.mandatory - This method must be implemented. ProgramSearchResults getProgramsBySearch(ProgramQuery programQuery, ProgramSearch programSearch) throws OperationFailedException, PermissionDeniedException
programQuery - the program queryprogramSearch - the program searchNullArgumentException - programQuery or
programSearch is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - programQuery or
programSearch is not of this servicemandatory - This method must be implemented. ProgramQuery getProgramQueryFromInspector(ProgramQueryInspector programQueryInspector)
ProgramSearchResults. programQueryInspector - a program query inspectorNullArgumentException - programQueryInspector
is null UnsupportedException - programQueryInspector
is not of this servicemandatory - This method must be implemented.