public interface ProficiencySmartObjectiveBankSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A ProficiencyQuery
can be retrieved from this
session and mapped to this ObjectiveBank
to create a
virtual collection of Proficiencies.
The proficiencies may
be sequenced using the ProficiencySearchOrder
from this
session.
This ObjectiveBank
has a default query that matches any
proficiency and a default search order that specifies no sequencing. The
queries may be examined using a ProficiencyQueryInspector.
The query may be modified by converting the inspector back to a
ProficiencyQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyProficiencyQuery(ProficiencyQuery proficiencyQuery)
Applies a proficiency query to this objective bank.
|
void |
applyProficiencySequencing(ProficiencySearchOrder proficiencySearchOrder)
Applies a proficiency search order to this objective bank.
|
boolean |
canManageSmartObjectiveBanks()
Tests if this user can manage smart objective banks.
|
ObjectiveBank |
getObjectiveBank()
Gets the
ObjectiveBank associated with this session. |
Id |
getObjectiveBankId()
Gets the
Familt Id associated with this
session. |
ProficiencyQuery |
getProficiencyQuery()
Gets a proficiency query.
|
ProficiencyQuery |
getProficiencyQueryFromInspector(ProficiencyQueryInspector proficiencyQueryInspector)
Gets a proficiency query from an inspector.
|
ProficiencySearchOrder |
getProficiencySearchOrder()
Gets a proficiency search order.
|
ProficiencyQueryInspector |
inspectProficiencyQuery()
Gets a proficiency query inspector for this objective bank.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getObjectiveBankId()
Familt
Id
associated with this
session. ObjectiveBank Id
associated with this
sessionmandatory
- This method must be implemented. ObjectiveBank getObjectiveBank() throws OperationFailedException, PermissionDeniedException
ObjectiveBank
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartObjectiveBanks()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer smart operations. false
if smart objective bank methods are not
authorized, true
otherwisemandatory
- This method must be implemented. ProficiencyQuery getProficiencyQuery()
mandatory
- This method must be implemented. ProficiencySearchOrder getProficiencySearchOrder()
mandatory
- This method must be implemented. void applyProficiencyQuery(ProficiencyQuery proficiencyQuery) throws OperationFailedException, PermissionDeniedException
proficiencyQuery
- the proficiency queryNullArgumentException
- proficiencyQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- proficiencyQuery
not of this servicemandatory
- This method must be implemented. ProficiencyQueryInspector inspectProficiencyQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyProficiencySequencing(ProficiencySearchOrder proficiencySearchOrder) throws OperationFailedException, PermissionDeniedException
proficiencySearchOrder
- the proficiency search orderNullArgumentException
- proficiencySearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- proficiencySearchOrder
not of this servicemandatory
- This method must be implemented. ProficiencyQuery getProficiencyQueryFromInspector(ProficiencyQueryInspector proficiencyQueryInspector)
proficiencyQueryInspector
- a proficiency query inspectorNullArgumentException
-
relatinshipQueryInspector
is null
UnsupportedException
- proficiencyQueryInspector
is not of this servicemandatory
- This method must be implemented.