Interface | osid.provisioning.rules.PoolConstrainerEnablerQuery | ||
---|---|---|---|
Implements | osid.OsidEnablerQuery | ||
Description |
This is the query for searching pool constrainer enablers.
Each method match specifies an | ||
Method | matchRuledPoolConstrainerId | ||
Description |
Matches enablers mapped to the pool constrainer. | ||
Parameters | osid.id.Id | poolConstrainerId | the pool constrainer Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | poolConstrainerId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearRuledPoolConstrainerIdTerms | ||
Description |
Clears the pool constrainer | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsRuledPoolConstrainerQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a pool constrainer query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getRuledPoolConstrainerQuery | ||
Description |
Gets the query for a pool constrainer. Multiple
retrievals produce a nested | ||
Return | osid.provisioning.rules.PoolConstrainerQuery | the pool constrainer query | |
Errors | UNIMPLEMENTED | supportsRuledPoolConstrainerQuery() is false | |
Compliance | optional | This method must be implemented if
supportsRuledPoolConstrainerQuery() is true. | |
Method | matchAnyRuledPoolConstrainer | ||
Description |
Matches enablers mapped to any pool constrainer. | ||
Parameters | boolean | match | true for enablers mapped to any pool constrainer,
false to match enablers mapped to no pool constrainers |
Compliance | mandatory | This method must be implemented. | |
Method | clearRuledPoolConstrainerTerms | ||
Description |
Clears the pool constrainer query terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchDistributorId | ||
Description |
Matches enablers mapped to the distributor. | ||
Parameters | osid.id.Id | distributorId | the distributor 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 | getPoolConstrainerEnablerQueryRecord | ||
Description |
Gets the pool constrainer enabler query record
corresponding to the given | ||
Parameters | osid.type.Type | poolConstrainerEnablerRecordType | a pool constrainer enabler record type |
Return | osid.provisioning.rules.records.PoolConstrainerEnablerQueryRecord | the pool constrainer enabler query record | |
Errors | NULL_ARGUMENT | poolConstrainerEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(poolConstrainerEnablerRecordType) is
false | ||
Compliance | mandatory | This method must be implemented. |