OSID Logo
OSID Specifications
room package
Version 3.0.0
Release Candidate Preview
Interfaceosid.room.FloorSmartCampusSession
Implementsosid.OsidSession
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A FloorQuery can be retrieved from this session and mapped to this Campus to create a virtual collection of Floors. The floors may be sequenced using the FloorSearchOrder from this session.

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

MethodgetCampusId
Description

Gets the Campus Id associated with this session.

Returnosid.id.Idthe Campus Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetCampus
Description

Gets the Campus associated with this session.

Returnosid.room.Campusthe Campus associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetFloorQuery
Description

Gets a floor query.

Returnosid.room.FloorQuerythe floor query
CompliancemandatoryThis method must be implemented.
MethodgetFloorSearchOrder
Description

Gets a floor search order.

Returnosid.room.FloorSearchOrderthe floor search order
CompliancemandatoryThis method must be implemented.
MethodapplyFloorQuery
Description

Applies a floor query to this campus.

Parametersosid.room.FloorQueryfloorQuerythe floor query
ErrorsNULL_ARGUMENT floorQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED floorQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectFloorQuery
Description

Gets a floor query inspector for this campus.

Returnosid.room.FloorQueryInspectorthe floor query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyFloorSequencing
Description

Applies a floor search order to this campus.

Parametersosid.room.FloorSearchOrderfloorSearchOrderthe floor search order
ErrorsNULL_ARGUMENT floorSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED floorSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetFloorQueryFromInspector
Description

Gets a floor query from an inspector.

Parametersosid.room.FloorQueryInspectorfloorQueryInspectora query inspector
Returnosid.room.FloorQuerythe floor query
ErrorsNULL_ARGUMENT floorQueryInspector is null
UNSUPPORTED floorQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.