Interface RequestTransactionSearchSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession, RequestTransactionQuerySession
This session provides methods for searching among
RequestTransaction objects. The search query is constructed using the
RequestTransactionQuery .
getRequestTransactionsByQuery() is the basic search method and
returns a list of RequestTransactions . A more advanced search may
be performed with getRequestTransactionsBySearch() . It accepts a
RequestTransactionSearch in addition to the query for the purpose
of specifying additional options affecting the entire search, such as
ordering. getRequestTransactionsBySearch() returns a
RequestTransactionSearchResults that can be used to access the resulting
RequestTransactionList or be used to perform a search within the
result set through RequestTransactionSearch .-
Method Summary
Modifier and TypeMethodDescriptiongetRequestTransactionQueryFromInspector(RequestTransactionQueryInspector requestTransactionQueryInspector) Gets a request transaction query from an inspector.getRequestTransactionsBySearch(RequestTransactionQuery requestTransactionQuery, RequestTransactionSearch requestTransactionSearch) Gets the search results matching the given search query using the given search.Gets a request transaction search.Gets a request transaction 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 RequestTransactionQuerySession
canSearchRequestTransactions, getDistributor, getDistributorId, getRequestTransactionQuery, getRequestTransactionsByQuery, useFederatedDistributorView, useIsolatedDistributorViewModifier and TypeMethodDescriptionbooleanTests if this user can performRequestTransactionlookups.Gets theDistributorassociated with this session.Gets theDistributorIdassociated with this session.Gets a request transaction query.getRequestTransactionsByQuery(RequestTransactionQuery requestTransactionQuery) Gets a list ofRequestTransactionsmatching the given request transaction query.voidFederates the view for methods in this session.voidIsolates the view for methods in this session.
-
Method Details
-
getRequestTransactionSearch
RequestTransactionSearch getRequestTransactionSearch()Gets a request transaction search.- Returns:
- the request transaction search
- Compliance:
mandatory- This method must be implemented.
-
getRequestTransactionSearchOrder
RequestTransactionSearchOrder getRequestTransactionSearchOrder()Gets a request transaction search order. TheRequestTransactionSearchOrderis supplied to aRequestTransactionSearchto specify the ordering of results.- Returns:
- the request transaction search order
- Compliance:
mandatory- This method must be implemented.
-
getRequestTransactionsBySearch
RequestTransactionSearchResults getRequestTransactionsBySearch(RequestTransactionQuery requestTransactionQuery, RequestTransactionSearch requestTransactionSearch) throws OperationFailedException, PermissionDeniedException Gets the search results matching the given search query using the given search.- Parameters:
requestTransactionQuery- the request transaction queryrequestTransactionSearch- the request transaction search- Returns:
- the request transaction search results
- Throws:
NullArgumentException-requestTransactionQueryorrequestTransactionSearchisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failureUnsupportedException-requestTransactionQueryorrequestTransactionSearchis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRequestTransactionQueryFromInspector
RequestTransactionQuery getRequestTransactionQueryFromInspector(RequestTransactionQueryInspector requestTransactionQueryInspector) Gets a request transaction query from an inspector. The inspector is available from aRequestTransactionSearchResults.- Parameters:
requestTransactionQueryInspector- a request transaction query inspector- Returns:
- the request transaction query
- Throws:
NullArgumentException-requestTransactionQueryInspectorisnullUnsupportedException-requestTransactionQueryInspectoris not of this service- Compliance:
mandatory- This method must be implemented.
-