OSID Logo
OSID Specifications
hold rules package
Version 3.0.0
Interfaceosid.hold.rules.IssueEnablerSmartOublietteSession
Implementsosid.OsidSession
Used Byosid.hold.rules.HoldRulesManager
osid.hold.rules.HoldRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. An IssueEnablerQuery can be retrieved from this session and mapped to this Oubliette to create a virtual collection of IssueEnablers . The issue enablers may be sequenced using the IssueEnablerSearchOrder from this session.

This Oubliette has a default query that matches any issue enabler and a default search order that specifies no sequencing. The queries may be examined using an IssueEnablerQueryInspector . The query may be modified by converting the inspector back to an IssueEnablerQuery .

MethodgetOublietteId
Description

Gets the Oubliette Id associated with this session.

Returnosid.id.Idthe Oubliette Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetOubliette
Description

Gets the Oubliette associated with this session.

Returnosid.hold.Oubliettethe oubliette
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanManageSmartIssueEnablers
Description

Tests if this user can manage smart issue enablers.. 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 oubliette management is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetIssueEnablerQuery
Description

Gets an issue enabler query.

Returnosid.hold.rules.IssueEnablerQuerythe issue enabler query
CompliancemandatoryThis method must be implemented.
MethodgetIssueEnablerSearchOrder
Description

Gets an issue enabler search order.

Returnosid.hold.rules.IssueEnablerSearchOrderthe issue enabler search order
CompliancemandatoryThis method must be implemented.
MethodapplyIssueEnablerQuery
Description

Applies an issue enabler query to this oubliette.

Parametersosid.hold.rules.IssueEnablerQueryissueEnablerQuerythe issue enabler query
ErrorsNULL_ARGUMENTissueEnablerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDissueEnablerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectIssueEnablerQuery
Description

Gets an issue enabler query inspector for this oubliette.

Returnosid.hold.rules.IssueEnablerQueryInspectorthe issue enabler query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyIssueEnablerSequencing
Description

Applies an issue enabler search order to this oubliette.

Parametersosid.hold.rules.IssueEnablerSearchOrderissueEnablerSearchOrderthe issue enabler search order
ErrorsNULL_ARGUMENTissueEnablerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDissueEnablerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetIssueEnablerQueryFromInspector
Description

Gets an issue enabler query from an inspector.

Parametersosid.hold.rules.IssueEnablerQueryInspectorissueEnablerQueryInspectoran issue enabler query inspector
Returnosid.hold.rules.IssueEnablerQuerythe issue enabler query
ErrorsNULL_ARGUMENTissueEnablerQueryInspector is null
UNSUPPORTEDissueEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.