public interface CompetencySmartFoundrySession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A CompetencyQuery can be retrieved from this
session and mapped to this Foundry to create a virtual
collection of competencies. The competencies may be sequenced using the
CompetencySearchOrder from this session.
This Foundry has a default query that matches any
competency and a default search order that specifies no sequencing. The
queries may be examined using a CompetencyQueryInspector.
The query may be modified by converting the inspector back to a
CompetencyQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyCompetencyQuery(CompetencyQuery competencyQuery)
Applies a competency query to this foundry.
|
void |
applyCompetencySequencing(CompetencySearchOrder competencySearchOrder)
Applies a competency search order to this foundry.
|
boolean |
canManageSmartFoundries()
Tests if this user can manage smart foundries.
|
CompetencyQuery |
getCompetencyQuery()
Gets a competency query.
|
CompetencyQuery |
getCompetencyQueryFromInspector(CompetencyQueryInspector competencyQueryInspector)
Gets a competency query from an inspector.
|
CompetencySearchOrder |
getCompetencySearchOrder()
Gets a competency search order.
|
Foundry |
getFoundry()
Gets the
Foundry associated with this session. |
Id |
getFoundryId()
Gets the
Foundry Id associated with this
session. |
CompetencyQueryInspector |
inspecCompetencyQuery()
Gets a competency query inspector for this foundry.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getFoundryId()
Foundry Id associated with this
session. Foundry Id associated with this sessionmandatory - This method must be implemented. Foundry getFoundry() throws OperationFailedException, PermissionDeniedException
Foundry associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartFoundries()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart foundry management is not
authorized, true otherwisemandatory - This method must be implemented. CompetencyQuery getCompetencyQuery()
mandatory - This method must be implemented. CompetencySearchOrder getCompetencySearchOrder()
mandatory - This method must be implemented. void applyCompetencyQuery(CompetencyQuery competencyQuery) throws OperationFailedException, PermissionDeniedException
competencyQuery - the competency queryNullArgumentException - competencyQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - competencyQuery
not of this servicemandatory - This method must be implemented. CompetencyQueryInspector inspecCompetencyQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyCompetencySequencing(CompetencySearchOrder competencySearchOrder) throws OperationFailedException, PermissionDeniedException
competencySearchOrder - the competency search orderNullArgumentException - competencySearchOrder
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - competencySearchOrder
not of this servicemandatory - This method must be implemented. CompetencyQuery getCompetencyQueryFromInspector(CompetencyQueryInspector competencyQueryInspector)
competencyQueryInspector - a competency query inspectorNullArgumentException - competencyQueryInspector
is null UnsupportedException - competencyQueryInspector
is not of this servicemandatory - This method must be implemented.