| Interface | osid.provisioning.MySupplierSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods for retrieving provisions supplied by the resource related to the authenticated agent. This lookup session defines several views: 
  | ||
| Method | getDistributorId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Distributor Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributor | ||
| Description | 
                     Gets the   | ||
| Return | osid.provisioning.Distributor | the distributor | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupMyProvisions | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if lookup methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useEffectiveProvisionView | ||
| Description | 
                     Only provisionables requests and pools whose effective dates are current are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyEffectiveProvisionView | ||
| Description | 
                     All provisionables requests and pools of any effective dates are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getMyProvisions | ||
| Description | 
                     Gets the provisions for the resource related to this agent.  | ||
| Return | osid.provisioning.ProvisionList | the returned  ProvisionList   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getMyPools | ||
| Description | 
                     Gets all the pools in which the resource related to the authenticated agent is a part.  | ||
| Return | osid.provisioning.PoolList | the returned  Pool  list  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getMyProvisionables | ||
| Description | 
                     Gets all the provisionables in which the resource related to the authenticated agent.  | ||
| Return | osid.provisioning.ProvisionableList | the returned  Provisionable  list  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |