OSID Logo
OSID Specifications
room package
Version 3.1.0
Interfaceosid.room.FloorSmartCampusSession
Implementsosid.OsidSession
Used Byosid.room.RoomManager
osid.room.RoomProxyManager
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.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.
MethodgetFloorQuery
Description

Gets a floor query.

Returnosid.room.FloorQuery the floor query
Compliancemandatory This method must be implemented.
MethodgetFloorSearchOrder
Description

Gets a floor search order.

Returnosid.room.FloorSearchOrder the floor search order
Compliancemandatory This method must be implemented.
MethodapplyFloorQuery
Description

Applies a floor query to this campus.

Parametersosid.room.FloorQueryfloorQuery the floor query
ErrorsNULL_ARGUMENT floorQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED floorQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectFloorQuery
Description

Gets a floor query inspector for this campus.

Returnosid.room.FloorQueryInspector the floor query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyFloorSequencing
Description

Applies a floor search order to this campus.

Parametersosid.room.FloorSearchOrderfloorSearchOrder the floor search order
ErrorsNULL_ARGUMENT floorSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED floorSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetFloorQueryFromInspector
Description

Gets a floor query from an inspector.

Parametersosid.room.FloorQueryInspectorfloorQueryInspector a query inspector
Returnosid.room.FloorQuery the floor query
ErrorsNULL_ARGUMENT floorQueryInspector is null
UNSUPPORTED floorQueryInspector is not of this service
Compliancemandatory This method must be implemented.