OSID Logo
OSID Specifications
control rules package
Version 3.1.0
Interfaceosid.control.rules.TriggerEnablerSmartSystemSession
Implementsosid.OsidSession
Used Byosid.control.rules.ControlRulesManager
osid.control.rules.ControlRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic systems. A TriggerEnablerQuery can be retrieved from this session and mapped to this System to create a virtual collection of trigger enablers. The trigger enablers may be sequenced using the TriggerEnablerSearchOrder from this session.

This System has a default query that matches any trigger enabler and a default search order that specifies no sequencing. The queries may be examined using a TriggerEnablerQueryInspector. The query may be modified by converting the inspector back to a TriggerEnablerQuery.

MethodgetSystemId
Description

Gets the System Id associated with this session.

Returnosid.id.Id the System Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetSystem
Description

Gets the System associated with this session.

Returnosid.control.System the system
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartSystems
Description

Tests if this user can manage smart systems. 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 system management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetTriggerEnablerQuery
Description

Gets a trigger enabler query.

Returnosid.control.rules.TriggerEnablerQuery the trigger enabler query
Compliancemandatory This method must be implemented.
MethodgetTriggerEnablerSearchOrder
Description

Gets a trigger enabler search order.

Returnosid.control.rules.TriggerEnablerSearchOrder the trigger enabler search order
Compliancemandatory This method must be implemented.
MethodapplyTriggerEnablerQuery
Description

Applies a trigger enabler query to this system.

Parametersosid.control.rules.TriggerEnablerQuerytriggerEnablerQuery the trigger enabler query
ErrorsNULL_ARGUMENT triggerEnablerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED triggerEnablerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectTriggerEnablerQuery
Description

Gets a trigger enabler query inspector for this system.

Returnosid.control.rules.TriggerEnablerQueryInspector the trigger enabler query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyTriggerEnablerSequencing
Description

Applies a trigger enabler search order to this system.

Parametersosid.control.rules.TriggerEnablerSearchOrdertriggerEnablerSearchOrder the trigger enabler search order
ErrorsNULL_ARGUMENT triggerEnablerSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED triggerEnablerSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetTriggerEnablerQueryFromInspector
Description

Gets a trigger enabler query from an inspector.

Parametersosid.control.rules.TriggerEnablerQueryInspectortriggerEnablerQueryInspector a trigger enabler query inspector
Returnosid.control.rules.TriggerEnablerQuery the trigger enabler query
ErrorsNULL_ARGUMENT triggerEnablerQueryInspector is null
UNSUPPORTED triggerEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.