public interface InquiryQuerySession extends OsidSession
This session provides methods for searching among Inquiry
objects. The search query is constructed using the
InquiryQuery.
This session defines views that offer differing behaviors for searching.
Inquiries may have a query record indicated by their respective record
types. The query record is accessed via the InquiryQuery.
Modifier and Type | Method and Description |
---|---|
boolean |
canSearchInquiries()
Tests if this user can perform
Inquiry lookups. |
Inquest |
getInquest()
Gets the
Inquest associated with this session. |
Id |
getInquestId()
Gets the
Inquest Id associated with this
session. |
InquiryList |
getInquiriesByQuery(InquiryQuery inquiryQuery)
Gets a list of
Inquiries matching the given inquiry
query, |
InquiryQuery |
getInquiryQuery()
Gets an inquiry query.
|
void |
useFederatedInquestView()
Federates the view for methods in this session.
|
void |
useIsolatedInquestView()
Isolates the view for methods in this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getInquestId()
Inquest
Id
associated with this
session. Inquest Id
associated with this sessionmandatory
- This method must be implemented. Inquest getInquest() throws OperationFailedException, PermissionDeniedException
Inquest
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canSearchInquiries()
Inquiry
lookups. A
return of true does not guarantee successful authorization. A return
of false indicates that it is known all methods in this session will
result in a PERMISSION_DENIED.
This is intended as a
hint to an application that may not offer lookup operations to
unauthorized users. false
if search methods are not authorized,
true
otherwisemandatory
- This method must be implemented. void useFederatedInquestView()
mandatory
- This method is must be implemented. void useIsolatedInquestView()
mandatory
- This method is must be implemented. InquiryQuery getInquiryQuery()
mandatory
- This method must be implemented. InquiryList getInquiriesByQuery(InquiryQuery inquiryQuery) throws OperationFailedException, PermissionDeniedException
Inquiries
matching the given inquiry
query,inquiryQuery
- the inquiry query InquiryList
NullArgumentException
- inquiryQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- inquiryQuery
is
not of this servicemandatory
- This method must be implemented.