OSID Logo
OSID Specifications
personnel package
Version 3.1.0
Interfaceosid.personnel.AppointmentSmartRealmSession
Implementsosid.OsidSession
Used Byosid.personnel.PersonnelManager
osid.personnel.PersonnelProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. An AppointmentQuery can be retrieved from this session and mapped to this Realm to create a virtual collection of Appointments. The appointments may be sequenced using the AppointmentSearchOrder from this session.

This Realm has a default query that matches any appointment and a default search order that specifies no sequencing. The queries may be examined using an AppointmentQueryInspector. The query may be modified by converting the inspector back to an AppointmentQuery.

MethodgetRealmId
Description

Gets the Realm Id associated with this session.

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

Gets the Realm associated with this session.

Returnosid.personnel.Realm the Realm associated with this session
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartRealms
Description

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

Gets an appointment query.

Returnosid.personnel.AppointmentQuery the appointment query
Compliancemandatory This method must be implemented.
MethodgetAppointmentSearchOrder
Description

Gets an appointment search order.

Returnosid.personnel.AppointmentSearchOrder the appointment search order
Compliancemandatory This method must be implemented.
MethodapplyAppointmentQuery
Description

Applies an appointment query to this realm.

Parametersosid.personnel.AppointmentQueryappointmentQuery the appointment query
ErrorsNULL_ARGUMENT appointmentQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED appointmentQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectAppointmentQuery
Description

Gets an appointment query inspector for this realm.

Returnosid.personnel.AppointmentQueryInspector the appointment query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyAppointmentSequencing
Description

Applies an appointment search order to this realm.

Parametersosid.personnel.AppointmentSearchOrderappointmentSearchOrder the appointment search order
ErrorsNULL_ARGUMENT appointmentSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED appointmentSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetAppointmentQueryFromInspector
Description

Gets an appointment query from an inspector.

Parametersosid.personnel.AppointmentQueryInspectorappointmentQueryInspector a query inspector
Returnosid.personnel.AppointmentQuery the appointment query
ErrorsNULL_ARGUMENT appointmentQueryInspector is null
UNSUPPORTED appointmentQueryInspector is not of this service
Compliancemandatory This method must be implemented.