public interface CanonicalUnitProcessorEnablerSmartCatalogueSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogues. A CanonicalUnitProcessorEnablerQuery can be
retrieved from this session and mapped to this Catalogue to
create a virtual collection of canonical unit processor enablers. The
canonical unit processor enablers may be sequenced using the
CanonicalUnitProcessorEnablerSearchOrder from this session.
This Catalogue has a default query that matches any
canonical unit processor enabler and a default search order that specifies
no sequencing. The queries may be examined using a
CanonicalUnitProcessorEnablerQueryInspector. The query may be
modified by converting the inspector back to a
CanonicalUnitProcessorEnablerQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyCanonicalUnitProcessorEnablerQuery(CanonicalUnitProcessorEnablerQuery canonicalUnitProcessorEnablerQuery)
Applies a canonical unit processor enabler query to this catalogue.
|
void |
applyCanonicalUnitProcessorEnablerSequencing(CanonicalUnitProcessorEnablerSearchOrder canonicalUnitProcessorEnablerSearchOrder)
Applies a canonical unit processor enabler search order to this
catalogue.
|
boolean |
canManageSmartCatalogues()
Tests if this user can manage smart catalogues.
|
CanonicalUnitProcessorEnablerQuery |
getCanonicalUnitProcessorEnablerQuery()
Gets a canonical unit processor enabler query.
|
CanonicalUnitProcessorEnablerQuery |
getCanonicalUnitProcessorEnablerQueryFromInspector(CanonicalUnitProcessorEnablerQueryInspector canonicalUnitProcessorEnablerQueryInspector)
Gets a canonical unit processor enabler query from an inspector.
|
CanonicalUnitProcessorEnablerSearchOrder |
getCanonicalUnitProcessorEnablerSearchOrder()
Gets a canonical unit processor enabler search order.
|
Catalogue |
getCatalogue()
Gets the
Catalogue associated with this session. |
Id |
getCatalogueId()
Gets the
Catalogue Id associated with
this session. |
CanonicalUnitProcessorEnablerQueryInspector |
inspectCanonicalUnitProcessorEnablerQuery()
Gets a canonical unit processor enabler query inspector for this
catalogue.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getCatalogueId()
Catalogue Id associated with
this session. Catalogue Id associated with this sessionmandatory - This method must be implemented. Catalogue getCatalogue() throws OperationFailedException, PermissionDeniedException
Catalogue associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartCatalogues()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart catalogue management is not
authorized, true otherwisemandatory - This method must be implemented. CanonicalUnitProcessorEnablerQuery getCanonicalUnitProcessorEnablerQuery()
mandatory - This method must be implemented. CanonicalUnitProcessorEnablerSearchOrder getCanonicalUnitProcessorEnablerSearchOrder()
mandatory - This method must be implemented. void applyCanonicalUnitProcessorEnablerQuery(CanonicalUnitProcessorEnablerQuery canonicalUnitProcessorEnablerQuery) throws OperationFailedException, PermissionDeniedException
canonicalUnitProcessorEnablerQuery - the canonical unit
processor enabler queryNullArgumentException -
canonicalUnitProcessorEnablerQuery is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
canonicalUnitProcessorEnablerQuery not of this servicemandatory - This method must be implemented. CanonicalUnitProcessorEnablerQueryInspector inspectCanonicalUnitProcessorEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyCanonicalUnitProcessorEnablerSequencing(CanonicalUnitProcessorEnablerSearchOrder canonicalUnitProcessorEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
canonicalUnitProcessorEnablerSearchOrder - the canonical unit
processor enabler search orderNullArgumentException -
canonicalUnitProcessorEnablerSearchOrder is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
canonicalUnitProcessorEnablerSearchOrder not of this
servicemandatory - This method must be implemented. CanonicalUnitProcessorEnablerQuery getCanonicalUnitProcessorEnablerQueryFromInspector(CanonicalUnitProcessorEnablerQueryInspector canonicalUnitProcessorEnablerQueryInspector)
canonicalUnitProcessorEnablerQueryInspector - a canonical unit
processor enabler query inspectorNullArgumentException -
canonicalUnitProcessorEnablerQueryInspector is
null UnsupportedException -
canonicalUnitProcessorEnablerQueryInspector is not of
this servicemandatory - This method must be implemented.