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

This session manages queries and sequencing to create "smart" dynamic catalogs. An IssueConstrainerQu ery can be retrieved from this session and mapped to this Oubliette to create a virtual collection of IssueConstraine rs. The issue constrainers may be sequenced using the IssueConstrainerSearchOr der from this session.

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

MethodgetOublietteId
Description

Gets the Oubliette Id associated with this session.

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

Gets the Oubliette associated with this session.

Returnosid.hold.Oubliette the oubliette
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartIssueConstrainers
Description

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

Gets an issue constrainer query.

Returnosid.hold.rules.IssueConstrainerQuery the issue constrainer query
Compliancemandatory This method must be implemented.
MethodgetIssueConstrainerSearchOrder
Description

Gets an issue constrainer search order.

Returnosid.hold.rules.IssueConstrainerSearchOrder the issue constrainer search order
Compliancemandatory This method must be implemented.
MethodapplyIssueConstrainerQuery
Description

Applies an issue constrainer query to this oubliette.

Parametersosid.hold.rules.IssueConstrainerQueryissueConstrainerQuery the issue constrainer query
ErrorsNULL_ARGUMENT issueConstrainerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED issueConstrainerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectIssueConstrainerQuery
Description

Gets an issue constrainer query inspector for this oubliette.

Returnosid.hold.rules.IssueConstrainerQueryInspector the issue constrainer query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyIssueConstrainerSequencing
Description

Applies an issue constrainer search order to this oubliette.

Parametersosid.hold.rules.IssueConstrainerSearchOrderissueConstrainerSearchOrder the issue constrainer search order
ErrorsNULL_ARGUMENT issueConstrainerSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED issueConstrainerSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetIssueConstrainerQueryFromInspector
Description

Gets an issue constrainer query from an inspector.

Parametersosid.hold.rules.IssueConstrainerQueryInspectorissueConstrainerQueryInspector an issue constrainer query inspector
Returnosid.hold.rules.IssueConstrainerQuery the issue constrainer query
ErrorsNULL_ARGUMENT issueConstrainerQueryInspector is null
UNSUPPORTED issueConstrainerQueryInspector is not of this service
Compliancemandatory This method must be implemented.