public interface IssueQuerySession extends OsidSession
This session provides methods for searching among Issue
objects. The search query is constructed using the IssueQuery.
This session defines views that offer differing behaviors for searching.
Issues may have a query record indicated by their respective record
types. The record query is accessed via the IssueQuery.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSearchIssues()
Tests if this user can perform
Issue lookups. |
FrontOffice |
getFrontOffice()
Gets the
FrontOffice associated with this session. |
Id |
getFrontOfficeId()
Gets the
FrontOffice Id associated with
this session. |
IssueQuery |
getIssueQuery()
Gets an issue query.
|
IssueList |
getIssuesByQuery(IssueQuery issueQuery)
Gets a list of
Issues matching the given issue query. |
void |
useFederatedFrontOfficeView()
Federates the view for methods in this session.
|
void |
useIsolatedFrontOfficeView()
Isolates the view for methods in this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getFrontOfficeId()
FrontOffice Id associated with
this session. FrontOffice Id associated with this sessionmandatory - This method must be implemented. FrontOffice getFrontOffice() throws OperationFailedException, PermissionDeniedException
FrontOffice associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canSearchIssues()
Issue 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 useFederatedFrontOfficeView()
mandatory - This method is must be implemented. void useIsolatedFrontOfficeView()
mandatory - This method is must be implemented. IssueQuery getIssueQuery()
mandatory - This method must be implemented. IssueList getIssuesByQuery(IssueQuery issueQuery) throws OperationFailedException, PermissionDeniedException
Issues matching the given issue query.issueQuery - the issue query IssueList NullArgumentException - issueQuery is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - issueQuery is not
of this servicemandatory - This method must be implemented.