public interface ActivityRegistrationSearchSession extends ActivityRegistrationQuerySession
This session provides methods for searching among
ActivityRegistration objects. The search query is constructed
using the ActivityRegistrationQuery.
getActivityRegistrationsByQuery() is the basic search
method and returns a list of ActivityRegistrations. A more
advanced search may be performed with
getActivityRegistrationsBySearch(). It accepts an
ActivityRegistrationSearch in addition to the query for the
purpose of specifying additional options affecting the entire search, such
as ordering. getActivityRegistrationsBySearch() returns an
ActivityRegistrationSearchResults that can be used to
access the resulting ActivityRegistrationList or be used to
perform a search within the result set through
ActivityRegistrationSearch.
This session defines views that offer differing behaviors for searching.
Activity Registrations may have a query record indicated by their
respective record types. The query record is accessed via the
ActivityRegistrationQuery.
| Modifier and Type | Method and Description |
|---|---|
ActivityRegistrationQuery |
getActivityRegistrationQueryFromInspector(ItemQueryInspector activityRegistrationQueryInspector)
Gets an activity registration query from an inspector.
|
ActivityRegistrationSearchResults |
getActivityRegistrationsBySearch(ActivityRegistrationQuery activityRegistrationQuery,
ActivityRegistrationSearch activityRegistrationSearch)
Gets the search results matching the given search query using the
given search.
|
ActivityRegistrationSearch |
getActivityRegistrationSearch()
Gets an activity registration search.
|
ActivityRegistrationSearchOrder |
getActivityRegistrationSearchOrder()
Gets an activity search order.
|
canSearchActivityRegistrations, getActivityRegistrationQuery, getActivityRegistrationsByQuery, getCourseCatalog, getCourseCatalogId, useFederatedCourseCatalogView, useIsolatedCourseCatalogViewgetAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseActivityRegistrationSearch getActivityRegistrationSearch()
mandatory - This method must be implemented. ActivityRegistrationSearchOrder getActivityRegistrationSearchOrder()
ActivityRegistrationSearchOrder is supplied to an
ActivityRegistrationSearch to specify the ordering of results.mandatory - This method must be implemented. ActivityRegistrationSearchResults getActivityRegistrationsBySearch(ActivityRegistrationQuery activityRegistrationQuery, ActivityRegistrationSearch activityRegistrationSearch) throws OperationFailedException, PermissionDeniedException
activityRegistrationQuery - the activity registration queryactivityRegistrationSearch - the activity registration searchNullArgumentException -
activityRegistrationQuery or
activityRegistrationSearch is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - activityRegistrationQuery
or activityRegistrationSearch is not of
this servicemandatory - This method must be implemented. ActivityRegistrationQuery getActivityRegistrationQueryFromInspector(ItemQueryInspector activityRegistrationQueryInspector)
ActivityRegistrationSearchResults. activityRegistrationQueryInspector - an activity registration
query inspectorNullArgumentException -
activityRegistrationQueryInspector is null
UnsupportedException -
activityRegistrationQueryInspector is not of this
servicemandatory - This method must be implemented.