OSID Logo
OSID Specifications
rules check package
Version 3.0.0
Release Candidate Preview
Interfaceosid.rules.check.AgendaEngineSession
Implementsosid.OsidSession
Description

This session provides methods to retrieve Agenda to Engine checks. An Agenda may appear in multiple Engine objects. Each engine may have its own authorizations governing who is allowed to look at it.

This lookup session defines several views:

  • comparative view: elements may be silently omitted or re-ordered
  • plenary view: provides a complete result set or is an error condition
MethodcanLookupAgendaEngineMappings
Description

Tests if this user can perform lookups of agenda/engine checks. A return of true does not guarantee successful authorization. A return of false indicates that it is known lookup 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 lookup operations to unauthorized users.

Returnboolean false if looking up mappings is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethoduseComparativeAgendaEngineView
Description

The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision.

CompliancemandatoryThis method is must be implemented.
MethodusePlenaryAgendaEngineView
Description

A complete view of the Agenda and Engine returns is desired. Methods will return what is requested or result in an error. This view is used when greater precision is desired at the expense of interoperability.

CompliancemandatoryThis method is must be implemented.
MethodgetAgendaIdsByEngine
Description

Gets the list of Agenda Ids associated with a Engine.

Parametersosid.id.IdengineId Id of the Engine
Returnosid.id.IdListlist of related agenda Ids
ErrorsNOT_FOUND engineId is not found
NULL_ARGUMENT engineId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetAgendasByEngine
Description

Gets the list of Agendas associated with a Engine.

Parametersosid.id.IdengineId Id of the Engine
Returnosid.rules.check.AgendaListlist of related agendas
ErrorsNOT_FOUND engineId is not found
NULL_ARGUMENT engineId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetAgendaIdsByEngines
Description

Gets the list of Agenda Ids corresponding to a list of Engines.

Parametersosid.id.IdListengineIdslist of engine Ids
Returnosid.id.IdListlist of agenda Ids
ErrorsNULL_ARGUMENT engineIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetAgendasByEngines
Description

Gets the list of Agenda corresponding to a list of Engines.

Parametersosid.id.IdListengineIdslist of engine Ids
Returnosid.rules.check.AgendaListlist of agendas
ErrorsNULL_ARGUMENT engineIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetEngineIdsByAgenda
Description

Gets the Engine Ids mapped to an Agenda.

Parametersosid.id.IdagendaId Id of an Agenda
Returnosid.id.IdListlist of engines
ErrorsNOT_FOUND agendaId is not found
NULL_ARGUMENT agendaId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetEnginesByAgenda
Description

Gets the Engines mapped to an Agenda.

Parametersosid.id.IdagendaId Id of an Agenda
Returnosid.rules.EngineListlist of engines
ErrorsNOT_FOUND agendaId is not found
NULL_ARGUMENT agendaId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.