public interface AwardEntrySmartCourseCatalogSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. An AwardEntryQuery
can be retrieved from this
session and mapped to this CourseCatalog
to create a
virtual collection of AwardEntries.
The courses may be
sequenced using the AwardEntrySearchOrder
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 an AwardEntryQueryInspector.
The query may be modified by converting the inspector back to an
AwardEntryQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyAwardEntryQuery(AwardEntryQuery awardEntryQuery)
Applies an award entry query to this course catalog.
|
void |
applyAwardEntrySequencing(AwardEntrySearchOrder awardEntrySearchOrder)
Applies an award entry search order to this course catalog.
|
boolean |
canManageSmartCourseCatalogs()
Tests if this user can manage smart course catalogs.
|
AwardEntryQuery |
getAwardEntryQuery()
Gets an award entry query.
|
AwardEntryQuery |
getAwardEntryQueryFromInspector(AwardEntryQueryInspector awardEntryQueryInspector)
Gets an award entry query from an inspector.
|
AwardEntrySearchOrder |
getAwardEntrySearchOrder()
Gets an award entry search order.
|
CourseCatalog |
getCourseCatalog()
Gets the
CourseCatalog associated with this session. |
Id |
getCourseCatalogId()
Gets the
CourseCatalog Id associated
with this session. |
AwardEntryQueryInspector |
inspectAwardEntryQuery()
Gets an award entry query inspector for this course catalog.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id 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. AwardEntryQuery getAwardEntryQuery()
mandatory
- This method must be implemented. AwardEntrySearchOrder getAwardEntrySearchOrder()
mandatory
- This method must be implemented. void applyAwardEntryQuery(AwardEntryQuery awardEntryQuery) throws OperationFailedException, PermissionDeniedException
awardEntryQuery
- the award entry queryNullArgumentException
- awardEntryQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- awardEntryQuery
not of this servicemandatory
- This method must be implemented. AwardEntryQueryInspector inspectAwardEntryQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyAwardEntrySequencing(AwardEntrySearchOrder awardEntrySearchOrder) throws OperationFailedException, PermissionDeniedException
awardEntrySearchOrder
- the award entry search orderNullArgumentException
- awardEntrySearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- awardEntrySearchOrder
not of this servicemandatory
- This method must be implemented. AwardEntryQuery getAwardEntryQueryFromInspector(AwardEntryQueryInspector awardEntryQueryInspector)
awardEntryQueryInspector
- a query inspectorNullArgumentException
- awardEntryQueryInspector
is null
UnsupportedException
- awardEntryQueryInspector
is not of this servicemandatory
- This method must be implemented.