OSID Logo
OSID Specifications
resourcing rules package
Version 3.0.0
Interfaceosid.resourcing.rules.CommissionEnablerSmartFoundrySession
Implementsosid.OsidSession
Used Byosid.resourcing.rules.ResourcingRulesManager
osid.resourcing.rules.ResourcingRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic foundries. A CommissionEnablerQuery can be retrieved from this session and mapped to this Foundry to create a virtual collection of commission enablers. The commission enabler may be sequenced using the CommissionEnablerSearchOrder terface from this session.

This Foundry has a default query that matches any commission enabler and a default search order that specifies no sequencing. The queries may be examined using a CommissionEnablerQueryInspector . The query may be modified by converting the inspector back to a CommissionEnablerQuery .

MethodgetFoundryId
Description

Gets the Foundry Id associated with this session.

Returnosid.id.Idthe Foundry Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetFoundry
Description

Gets the Foundry associated with this session.

Returnosid.resourcing.Foundrythe foundry
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanManageSmartFoundries
Description

Tests if this user can manage smart foundries. 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.

Returnbooleanfalse if smart foundry management is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCommissionEnablerQuery
Description

Gets a commission enabler query.

Returnosid.resourcing.rules.CommissionEnablerQuerythe commission enabler query
CompliancemandatoryThis method must be implemented.
MethodgetCommissionEnablerSearchOrder
Description

Gets a commission enabler search order.

Returnosid.resourcing.rules.CommissionEnablerSearchOrderthe commission enabler search order
CompliancemandatoryThis method must be implemented.
MethodapplyCommissionEnablerQuery
Description

Applies a commission enabler query to this foundry.

Parametersosid.resourcing.rules.CommissionEnablerQuerycommissionEnablerQuerythe commission enabler query
ErrorsNULL_ARGUMENTccommissionEnablerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDcommissionEnablerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectCommissionEnablerQuery
Description

Gets a commission enabler query inspector for this foundry.

Returnosid.resourcing.rules.CommissionEnablerQueryInspectorthe commission enabler query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyCommissionEnablerSequencing
Description

Applies a commission enabler search order to this foundry.

Parametersosid.resourcing.rules.CommissionEnablerSearchOrdercommissionEnablerSearchOrderthe commission enabler search order
ErrorsNULL_ARGUMENTcommissionEnablerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDcommissionEnablerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetCommissionEnablerQueryFromInspector
Description

Gets a commission enabler query from an inspector.

Parametersosid.resourcing.rules.CommissionEnablerQueryInspectorcommissionEnablerQueryInspectora commission enabler query inspector
Returnosid.resourcing.rules.CommissionEnablerQuerythe commission enabler query
ErrorsNULL_ARGUMENTcommissionEnablerQueryInspector is null
UNSUPPORTEDcommissionEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.