OSID Logo
OSID Specifications
hold package
Version 3.1.0
Interfaceosid.hold.HoldSmartOublietteSession
Implementsosid.OsidSession
Used Byosid.hold.HoldManager
osid.hold.HoldProxyManager
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.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.
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
Compliancemandatory This method must be implemented.
MethodgetHoldQuery
Description

Gets a hold query.

Returnosid.hold.HoldQuery the hold query
Compliancemandatory This method must be implemented.
MethodgetHoldSearchOrder
Description

Gets a hold search order.

Returnosid.hold.HoldSearchOrder the hold search order
Compliancemandatory This method must be implemented.
MethodapplyHoldQuery
Description

Applies a hold query to this oubliette.

Parametersosid.hold.HoldQueryholdQuery the hold query
ErrorsNULL_ARGUMENT holdQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED holdQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectHoldQuery
Description

Gets a hold query inspector for this oubliette.

Returnosid.hold.HoldQueryInspector the hold query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyHoldSequencing
Description

Applies a hold search order to this oubliette.

Parametersosid.hold.HoldSearchOrderholdSearchOrder the hold search order
ErrorsNULL_ARGUMENT holdSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED holdSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetHoldQueryFromInspector
Description

Gets a hold query from an inspector.

Parametersosid.hold.HoldQueryInspectorholdQueryInspector a hold query inspector
Returnosid.hold.HoldQuery the hold query
ErrorsNULL_ARGUMENT holdQueryInspector is null
UNSUPPORTED holdQueryInspector is not of this service
Compliancemandatory This method must be implemented.