OSID Logo
OSID Specifications
offering rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.offering.rules.CanonicalUnitProcessorEnablerSmartCatalogueSession
Implementsosid.OsidSession
Description

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.

MethodgetCatalogueId
Description

Gets the Catalogue Id associated with this session.

Returnosid.id.Idthe Catalogue Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetCatalogue
Description

Gets the Catalogue associated with this session.

Returnosid.offering.Cataloguethe catalogue
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanManageSmartCatalogues
Description

Tests if this user can manage smart catalogues. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnboolean false if smart catalogue management is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCanonicalUnitProcessorEnablerQuery
Description

Gets a canonical unit processor enabler query.

Returnosid.offering.rules.CanonicalUnitProcessorEnablerQuerythe canonical unit processor enabler query
CompliancemandatoryThis method must be implemented.
MethodgetCanonicalUnitProcessorEnablerSearchOrder
Description

Gets a canonical unit processor enabler search order.

Returnosid.offering.rules.CanonicalUnitProcessorEnablerSearchOrderthe canonical unit processor enabler search order
CompliancemandatoryThis method must be implemented.
MethodapplyCanonicalUnitProcessorEnablerQuery
Description

Applies a canonical unit processor enabler query to this catalogue.

Parametersosid.offering.rules.CanonicalUnitProcessorEnablerQuerycanonicalUnitProcessorEnablerQuerythe canonical unit processor enabler query
ErrorsNULL_ARGUMENT canonicalUnitProcessorEnablerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED canonicalUnitProcessorEnablerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectCanonicalUnitProcessorEnablerQuery
Description

Gets a canonical unit processor enabler query inspector for this catalogue.

Returnosid.offering.rules.CanonicalUnitProcessorEnablerQueryInspectorthe canonical unit processor enabler query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyCanonicalUnitProcessorEnablerSequencing
Description

Applies a canonical unit processor enabler search order to this catalogue.

Parametersosid.offering.rules.CanonicalUnitProcessorEnablerSearchOrdercanonicalUnitProcessorEnablerSearchOrderthe canonical unit processor enabler search order
ErrorsNULL_ARGUMENT canonicalUnitProcessorEnablerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED canonicalUnitProcessorEnablerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetCanonicalUnitProcessorEnablerQueryFromInspector
Description

Gets a canonical unit processor enabler query from an inspector.

Parametersosid.offering.rules.CanonicalUnitProcessorEnablerQueryInspectorcanonicalUnitProcessorEnablerQueryInspectora canonical unit processor enabler query inspector
Returnosid.offering.rules.CanonicalUnitProcessorEnablerQuerythe canonical unit processor enabler query
ErrorsNULL_ARGUMENT canonicalUnitProcessorEnablerQueryInspector is null
UNSUPPORTED canonicalUnitProcessorEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.