OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.MyProvisionSession
Implementsosid.OsidSession
Description

This session defines methods for retrieving supplied provisions related to the queueing of the resource related to the authenticated agent.

This lookup session defines several views:

  • effective provision view: All lookup methods return provisions and requests where the current date falls in between the effective dates inclusive.
  • any effective provision view: Provisions and requests of any effective date are returned from methods.
MethodgetDistributorId
Description

Gets the Distributor Id associated with this session.

Returnosid.id.Idthe Distributor Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetDistributor
Description

Gets the Distributor associated with this session.

Returnosid.provisioning.Distributorthe distributor
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanLookupMyProvision
Description

Tests if this user can perform Provisions lookups. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may not offer lookup operations to unauthorized users.

Returnboolean false if lookup methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethoduseEffectiveProvisionView
Description

Only provisionables requests and pools whose effective dates are current are returned by methods in this session.

CompliancemandatoryThis method is must be implemented.
MethoduseAnyEffectiveProvisionView
Description

All provisionables requests and pools of any effective dates are returned by methods in this session.

CompliancemandatoryThis method is must be implemented.
MethodgetMyProvisions
Description

Gets the provisions for the resource related to this agent.

Returnosid.provisioning.ProvisionListthe returned ProvisionList
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetMyQueues
Description

Gets all the queues in which the resource related to the authenticated agent is on.

Returnosid.provisioning.QueueListthe returned Queue list
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetMyRequests
Description

Gets all the requests in which the resource related to the authenticated agent.

Returnosid.provisioning.RequestListthe returned Request list
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.