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

This session defines methods for retrieving provisions supplied by 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.
MethodcanLookupMyProvisions
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.
MethodgetMyPools
Description

Gets all the pools in which the resource related to the authenticated agent is a part.

Returnosid.provisioning.PoolListthe returned Pool list
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetMyProvisionables
Description

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

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