public interface ProcedureQuerySession extends OsidSession
This session provides methods for searching Procedure
objects. The search query is constructed using the ProcedureQuery.
The procedure record Type also specifies the record
for the award query.
Procedures may have a query record indicated by their respective
record types. The query record is accessed via the ProcedureQuery.
The returns in this session may not be cast directly to these
interfaces.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSearchProcedures()
Tests if this user can perform susbcription searches.
|
Cookbook |
getCookbook()
Gets the
Cookbook associated with this session. |
Id |
getCookbookId()
Gets the
Cookbook Id associated with
this session. |
ProcedureQuery |
getProcedureQuery()
Gets a procedure query.
|
ProcedureList |
getProceduresByQuery(ProcedureQuery procedureQuery)
Gets a list of procedures matching the given procedure query.
|
void |
useFederatedCookbookView()
Federates the view for methods in this session.
|
void |
useIsolatedCookbookView()
Isolates the view for methods in this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getCookbookId()
Cookbook Id associated with
this session. Cookbook Id associated with this sessionmandatory - This method must be implemented. Cookbook getCookbook() throws OperationFailedException, PermissionDeniedException
Cookbook associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canSearchProcedures()
PERMISSION_DENIED. This is intended as a hint to an
application that may not wish to offer search operations to
unauthorized users. false if search methods are not authorized,
true otherwisemandatory - This method must be implemented. void useFederatedCookbookView()
mandatory - This method is must be implemented. void useIsolatedCookbookView()
mandatory - This method is must be implemented. ProcedureQuery getProcedureQuery()
mandatory - This method must be implemented. ProcedureList getProceduresByQuery(ProcedureQuery procedureQuery) throws OperationFailedException, PermissionDeniedException
procedureQuery - the procedure query ProcedureList NullArgumentException - procedureQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - procedureQuery is
not of this servicemandatory - This method must be implemented.