public interface FrontOfficeQuerySession extends OsidSession
This session provides methods for searching among FrontOffice
objects. The search query is constructed using the
FrontOfficeQuery.
FrontOffices may have a query record indicated by their respective
record types. The query record is accessed via the
FrontOfficeQuery.
Modifier and Type | Method and Description |
---|---|
boolean |
canSearchFrontOffices()
Tests if this user can perform
FrontOffice searches. |
FrontOfficeQuery |
getFrontOfficeQuery()
Gets a front office query.
|
FrontOfficeList |
getFrontOfficesByQuery(FrontOfficeQuery frontOfficeQuery)
Gets a list of
FrontOffices matching the given fromt
office query. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
boolean canSearchFrontOffices()
FrontOffice
searches. 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. FrontOfficeQuery getFrontOfficeQuery()
mandatory
- This method must be implemented. FrontOfficeList getFrontOfficesByQuery(FrontOfficeQuery frontOfficeQuery) throws OperationFailedException, PermissionDeniedException
FrontOffices
matching the given fromt
office query.frontOfficeQuery
- the front office query FrontOfficeList
NullArgumentException
- frontOfficeQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- frontOfficeQuery
is not of this servicemandatory
- This method must be implemented.