public interface HoldQuerySession extends OsidSession
This session provides methods for searching among Hold
objects. The search query is constructed using the HoldQuery.
This session defines views that offer differing behaviors for searching.
Holds may have a query record indicated by their respective record
types. The query record is accessed via the HoldQuery.
Modifier and Type | Method and Description |
---|---|
boolean |
canSearchHolds()
Tests if this user can perform
Hold lookups. |
HoldQuery |
getHoldQuery()
Gets a hold query.
|
HoldList |
getHoldsByQuery(HoldQuery holdQuery)
Gets a list of
Holds matching the given hold query. |
Oubliette |
getOubliette()
Gets the
Oubliette associated with this session. |
Id |
getOublietteId()
Gets the
Oubliette Id associated with
this session. |
void |
useFederatedOublietteView()
Federates the view for methods in this session.
|
void |
useIsolatedOublietteView()
Isolates the view for methods in this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getOublietteId()
Oubliette
Id
associated with
this session. Oubliette Id
associated with this sessionmandatory
- This method must be implemented. Oubliette getOubliette() throws OperationFailedException, PermissionDeniedException
Oubliette
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canSearchHolds()
Hold
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 useFederatedOublietteView()
mandatory
- This method is must be implemented. void useIsolatedOublietteView()
mandatory
- This method is must be implemented. HoldQuery getHoldQuery()
mandatory
- This method must be implemented. HoldList getHoldsByQuery(HoldQuery holdQuery) throws OperationFailedException, PermissionDeniedException
Holds
matching the given hold query.holdQuery
- the hold query HoldList
NullArgumentException
- holdQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- holdQuery
is not
of this servicemandatory
- This method must be implemented.