OSID Logo
OSID Specifications
room squatting package
Version 3.1.0
Interfaceosid.room.squatting.DeedSmartCampusSession
Implementsosid.OsidSession
Used Byosid.room.squatting.RoomSquattingManager
osid.room.squatting.RoomSquattingProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A DeedQuery can be retrieved from this session and mapped to this Campus to create a virtual collection of Deeds. The deeds may be sequenced using the DeedSearchOrder from this session.

This Campus has a default query that matches any deed and a default search order that specifies no sequencing. The queries may be examined using a DeedQueryInspector. The query may be modified by converting the inspector back to a DeedQuery.

MethodgetCampusId
Description

Gets the Campus Id associated with this session.

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

Gets the Campus associated with this session.

Returnosid.room.Campus the Campus associated with this session
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartCampuses
Description

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

Gets a deed query.

Returnosid.room.squatting.DeedQuery the deed query
Compliancemandatory This method must be implemented.
MethodgetDeedSearchOrder
Description

Gets a deed search order.

Returnosid.room.squatting.DeedSearchOrder the deed search order
Compliancemandatory This method must be implemented.
MethodapplyDeedQuery
Description

Applies a deed query to this campus.

Parametersosid.room.squatting.DeedQuerydeedQuery the deed query
ErrorsNULL_ARGUMENT deedQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED deedQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectDeedQuery
Description

Gets a deed query inspector for this campus.

Returnosid.room.squatting.DeedQueryInspector the deed query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyDeedSequencing
Description

Applies a deed search order to this campus.

Parametersosid.room.squatting.DeedSearchOrderdeedSearchOrder the deed search order
ErrorsNULL_ARGUMENT deedSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED deedSearchOrder did not originate from getDeedSearchOrder()
Compliancemandatory This method must be implemented.
MethodgetDeedQueryFromInspector
Description

Gets a deed query from an inspector.

Parametersosid.room.squatting.DeedQueryInspectordeedQueryInspector a query inspector
Returnosid.room.squatting.DeedQuery the deed query
ErrorsNULL_ARGUMENT deedQueryInspector is null
UNSUPPORTED deedQueryInspector is not of this service
Compliancemandatory This method must be implemented.