| Interface | osid.provisioning.ProvisionableQuery | ||
|---|---|---|---|
| Implements | osid.OsidRelationshipQuery | ||
| Description | 
                 This is the query for searching provisionables. Each method 
                match specifies an   | ||
| Method | matchPoolId | ||
| Description | 
                     Sets the pool   | ||
| Parameters | osid.id.Id | poolId | the pool  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  poolId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearPoolIdTerms | ||
| Description | 
                     Clears the pool   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsPoolQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a pool query is available,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPoolQuery | ||
| Description | 
                     Gets the query for a pool. Multiple retrievals produce 
                    a nested   | ||
| Return | osid.provisioning.PoolQuery | the pool query | |
| Errors | UNIMPLEMENTED |  supportsPoolQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsPoolQuery()  is 
 true.   | |
| Method | clearPoolTerms | ||
| Description | 
                     Clears the pool query terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchResourceId | ||
| Description | 
                     Sets the resource   | ||
| Parameters | osid.id.Id | resourceId | the resource  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  resourceId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearResourceIdTerms | ||
| Description | 
                     Clears the resource   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsResourceQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a resource query is available,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourceQuery | ||
| Description | 
                     Gets the query for a resource. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.resource.ResourceQuery | the resource query | |
| Errors | UNIMPLEMENTED |  supportsResourceQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsResourceQuery()  
is  true.   | |
| Method | clearResourceTerms | ||
| Description | 
                     Clears the resource query terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchUse | ||
| Description | 
                     Matches provisionables provisioned the number of times in the given range inclusive.  | ||
| Parameters | cardinal | start | start of range | 
cardinal | end | end of range | |
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | INVALID_ARGUMENT |  start  is greater than  end   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearUseTerms | ||
| Description | 
                     Clears the position query terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchDistributorId | ||
| Description | 
                     Sets the distributor   | ||
| Parameters | osid.id.Id | distributorId | the broker  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  distributorId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearDistributorIdTerms | ||
| Description | 
                     Clears the distributor   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsDistributorQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a distributor query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributorQuery | ||
| Description | 
                     Gets the query for a distributor. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.provisioning.DistributorQuery | the distributor query | |
| Errors | UNIMPLEMENTED |  supportsDistributorQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsDistributorQuery() 
 is  true.   | |
| Method | clearDistributorTerms | ||
| Description | 
                     Clears the distributor query terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionableQueryRecord | ||
| Description | 
                     Gets the query record corresponding to the given   | ||
| Parameters | osid.type.Type | provisionableRecordType | a provisionable record type | 
| Return | osid.provisioning.records.ProvisionableQueryRecord | the provisionable query record | |
| Errors | NULL_ARGUMENT |  provisionableRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(provisionableRecordType)  is  false 
  |                 ||
| Compliance | mandatory | This method must be implemented. | |