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

This session manages queries and sequencing to create "smart" dynamic catalogs. An IssueProcessorQuery can be retrieved from this session and mapped to this Oubliette to create a virtual collection of IssueProcessors . The issue processors may be sequenced using the IssueProcessorSearchOrder from this session.

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

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.OublietteListthe oubliette
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanManageSmartIssueProcessors
Description

Tests if this user can manage smart issue processors.. 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.
MethodgetIssueProcessorQuery
Description

Gets an issue processor query.

Returnosid.hold.rules.IssueProcessorQuerythe issue processor query
CompliancemandatoryThis method must be implemented.
MethodgetIssueProcessorSearchOrder
Description

Gets an issue processor search order.

Returnosid.hold.rules.IssueProcessorSearchOrderthe issue processor search order
CompliancemandatoryThis method must be implemented.
MethodapplyIssueProcessorQuery
Description

Applies an issue processor query to this oubliette.

Parametersosid.hold.rules.IssueProcessorQueryissueProcessorQuerythe issue processor query
ErrorsNULL_ARGUMENTissueProcessorQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDissueProcessorQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectIssueProcessorQuery
Description

Gets an issue processor query inspector for this oubliette.

Returnosid.hold.rules.IssueProcessorQueryInspectorthe issue processor query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyIssueProcessorSequencing
Description

Applies an issue processor search order to this oubliette.

Parametersosid.hold.rules.IssueProcessorSearchOrderissueProcessorSearchOrderthe issue processor search order
ErrorsNULL_ARGUMENTissueProcessorSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDissueProcessorSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetIssueProcessorQueryFromInspector
Description

Gets an issue processor query from an inspector.

Parametersosid.hold.rules.IssueProcessorQueryInspectorissueProcessorQueryInspectoran issue processor query inspector
Returnosid.hold.rules.IssueProcessorQuerythe issue processor query
ErrorsNULL_ARGUMENTissueProcessorQueryInspector is null
UNSUPPORTEDissueProcessorQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.