OSID Logo
OSID Specifications
hold package
Version 3.0.0
Release Candidate Preview
Interfaceosid.hold.HoldSmartOublietteSession
Implementsosid.OsidSession
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A HoldQuery can be retrieved from this session and oublietteped to this Oubliette to create a virtual collection of Holds. The holds may be sequenced using the HoldSearchOrder from this session.

This Oubliette has a default query that matches any hold and a default search order that specifies no sequencing. The queries may be examined using a HoldQueryInspector. The query may be modified by converting the inspector back to a HoldQuery.

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.
MethodcanManageSmartOubliettes
Description

Tests if this user can manage smart oubliettes. 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
CompliancemandatoryThis method must be implemented.
MethodgetHoldQuery
Description

Gets a hold query.

Returnosid.hold.HoldQuerythe hold query
CompliancemandatoryThis method must be implemented.
MethodgetHoldSearchOrder
Description

Gets a hold search order.

Returnosid.hold.HoldSearchOrderthe hold search order
CompliancemandatoryThis method must be implemented.
MethodapplyHoldQuery
Description

Applies a hold query to this oubliette.

Parametersosid.hold.HoldQueryholdQuerythe hold query
ErrorsNULL_ARGUMENT holdQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED holdQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectHoldQuery
Description

Gets a hold query inspector for this oubliette.

Returnosid.hold.HoldQueryInspectorthe hold query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyHoldSequencing
Description

Applies a hold search order to this oubliette.

Parametersosid.hold.HoldSearchOrderholdSearchOrderthe hold search order
ErrorsNULL_ARGUMENT holdSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED holdSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetHoldQueryFromInspector
Description

Gets a hold query from an inspector.

Parametersosid.hold.HoldQueryInspectorholdQueryInspectora hold query inspector
Returnosid.hold.HoldQuerythe hold query
ErrorsNULL_ARGUMENT holdQueryInspector is null
UNSUPPORTED holdQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.