public interface CredentialSmartCourseCatalogSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A CredentialQuery can be retrieved from this
session and mapped to this CourseCatalog to create a
virtual collection of Credentials. The credentials may be
sequenced using the CredentialSearchOrder from this
session.
This CourseCatalog has a default query that matches any
course and a default search order that specifies no sequencing. The
queries may be examined using a CredentialQueryInspector.
The query may be modified by converting the inspector back to a
CredentialQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyCredentialQuery(CredentialQuery credentialQuery)
Applies a credential query to this course catalog.
|
void |
applyCredentialSequencing(CredentialSearchOrder credentialSearchOrder)
Applies a credential search order to this course catalog.
|
boolean |
canManageSmartCourseCatalogs()
Tests if this user can manage smart course catalogs.
|
CourseCatalog |
getCourseCatalog()
Gets the
CourseCatalog associated with this session. |
Id |
getCourseCatalogId()
Gets the
CourseCatalog Id associated
with this session. |
CredentialQuery |
getCredentialQuery()
Gets a credential query.
|
CredentialQuery |
getCredentialQueryFromInspector(CredentialQueryInspector credentialQueryInspector)
Gets a credential query from an inspector.
|
CredentialSearchOrder |
getCredentialSearchOrder()
Gets a credential search order.
|
CredentialQueryInspector |
inspectCredentialQuery()
Gets a credential query inspector for this course catalog.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getCourseCatalogId()
CourseCatalog Id associated
with this session. CourseCatalog Id associated with this
sessionmandatory - This method must be implemented. CourseCatalog getCourseCatalog() throws OperationFailedException, PermissionDeniedException
CourseCatalog associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartCourseCatalogs()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart course catalog management is not
authorized, true otherwisemandatory - This method must be implemented. CredentialQuery getCredentialQuery()
mandatory - This method must be implemented. CredentialSearchOrder getCredentialSearchOrder()
mandatory - This method must be implemented. void applyCredentialQuery(CredentialQuery credentialQuery) throws OperationFailedException, PermissionDeniedException
credentialQuery - the credential queryNullArgumentException - credentialQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - credentialQuery
not of this servicemandatory - This method must be implemented. CredentialQueryInspector inspectCredentialQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyCredentialSequencing(CredentialSearchOrder credentialSearchOrder) throws OperationFailedException, PermissionDeniedException
credentialSearchOrder - the credential search orderNullArgumentException - credentialSearchOrder
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - credentialSearchOrder
not of this servicemandatory - This method must be implemented. CredentialQuery getCredentialQueryFromInspector(CredentialQueryInspector credentialQueryInspector)
credentialQueryInspector - a query inspectorNullArgumentException - credentialQueryInspector
is null UnsupportedException - credentialQueryInspector
is not of this servicemandatory - This method must be implemented.