Interface ProfileEntryEnablerSearchSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession, ProfileEntryEnablerQuerySession
This session provides methods for searching among
ProfileEntryEnabler objects. The search query is constructed using the
ProfileEntryEnableryQuery .
getProfileEntryEnablersByQuery() is the basic search method and
returns a list of ProfileEntryEnablers . A more advanced search
may be performed with getProfileEntryEnablersBySearch() . It
accepts a ProfileEntryEnablerSearch in addition to the query for
the purpose of specifying additional options affecting the entire search,
such as ordering. getProfileEntryEnablersBySearch() returns a
ProfileEntryEnablerSearchResults that can be used to access the
resulting ProfileEntryEnablerList or be used to perform a search
within the result set through ProfileEntryEnablerSearch .
This session defines views that offer differing behaviors for searching.
- federated profile view: searches include profile entry enablers in profiles of which this profile is an ancestor in the profile hierarchy
- isolated profile view: searches are restricted to profile entry enablers in this profile
ProfileEntryEnablers may have a query record indicated by their
respective record types. The query record is accessed via the
ProfileEntryEnablerQuery .-
Method Summary
Modifier and TypeMethodDescriptiongetProfileEntryEnablerQueryFromInspector(ProfileEntryEnablerQueryInspector profileEntryEnablerQueryInspector) Gets a profile entry enabler query from an inspector.getProfileEntryEnablersBySearch(ProfileEntryEnablerQuery profileEntryEnablerQuery, ProfileEntryEnablerSearch profileEntryEnablerSearch) Gets the search results matching the given search query using the given search.Gets a profile entry enabler search.Gets a profile entry enabler search order.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.Methods inherited from interface ProfileEntryEnablerQuerySession
canSearchProfileEntryEnablers, getProfile, getProfileEntryEnablerQuery, getProfileEntryEnablersByQuery, getProfileId, useFederatedProfileView, useIsolatedProfileViewModifier and TypeMethodDescriptionbooleanTests if this user can performProfileEntryEnablerlookups.Gets theProfileassociated with this session.Gets a profile entry enabler query.getProfileEntryEnablersByQuery(ProfileEntryEnablerQuery profileEntryEnablerQuery) Gets a list ofProfileEntryEnablersmatching the given profile entry enabler query.Gets theProfileIdassociated with this session.voidFederates the view for methods in this session.voidIsolates the view for methods in this session.
-
Method Details
-
getProfileEntryEnablerSearch
ProfileEntryEnablerSearch getProfileEntryEnablerSearch()Gets a profile entry enabler search.- Returns:
- the profile entry enabler search
- Compliance:
mandatory- This method must be implemented.
-
getProfileEntryEnablerSearchOrder
ProfileEntryEnablerSearchOrder getProfileEntryEnablerSearchOrder()Gets a profile entry enabler search order. TheProfileEntryEnablerSearchOrderis supplied to aProfileEntryEnablerSearchto specify the ordering of results.- Returns:
- the profile entry enabler search order
- Compliance:
mandatory- This method must be implemented.
-
getProfileEntryEnablersBySearch
ProfileEntryEnablerSearchResults getProfileEntryEnablersBySearch(ProfileEntryEnablerQuery profileEntryEnablerQuery, ProfileEntryEnablerSearch profileEntryEnablerSearch) throws OperationFailedException, PermissionDeniedException Gets the search results matching the given search query using the given search.- Parameters:
profileEntryEnablerQuery- the profile entry enabler queryprofileEntryEnablerSearch- the profile entry enabler search- Returns:
- the returned search results
- Throws:
NullArgumentException-profileEntryEnablerQueryorprofileEntryEnablerSearchisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-profileEntryEnablerQueryorprofileEntryEnablerSearchis not of this service- Compliance:
mandatory- This method must be implemented.
-
getProfileEntryEnablerQueryFromInspector
ProfileEntryEnablerQuery getProfileEntryEnablerQueryFromInspector(ProfileEntryEnablerQueryInspector profileEntryEnablerQueryInspector) Gets a profile entry enabler query from an inspector. The inspector is available from aProfileEntryEnablerSearchResults.- Parameters:
profileEntryEnablerQueryInspector- a profile entry enabler query inspector- Returns:
- the profile entry enabler query
- Throws:
NullArgumentException-profileEntryEnablerQueryInspectorisnullUnsupportedException-profileEntryEnablerQueryInspectoris not of this service- Compliance:
mandatory- This method must be implemented.
-