| Interface | osid.offering.rules.OfferingConstrainer | ||
|---|---|---|---|
| Implements | osid.OsidConstrainer | ||
| Description |
An | ||
| Method | canOverrideDescription | ||
| Description |
Tests if the description can be overridden at offering. | ||
| Return | boolean | true if the description can be overridden, false
if constrained | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canOverrideTitle | ||
| Description |
Tests if the title can be overridden at offering. | ||
| Return | boolean | true if the title can be overridden, false if
constrained | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canOverrideCode | ||
| Description |
Tests if the code can be overridden at offering. | ||
| Return | boolean | true if the code can be overridden, false if
constrained | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canOverrideTimePeriods | ||
| Description |
Tests if the offerings can be made outside the specified time period cycles. | ||
| Return | boolean | true if the time period cycles can be overridden,
false if constrained | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canConstrainTimePeriods | ||
| Description |
Tests if offerings in all specified time periods are optional. | ||
| Return | boolean | true if the time period cycles can be optional, false
if constrained | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canOverrideResultOptions | ||
| Description |
Tests if the result options can be overridden at offering. | ||
| Return | boolean | true if the result options can be overridden, false
if constrained | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canConstrainResultOptions | ||
| Description |
Tests if the offering result options can be a subset of the canonical set. | ||
| Return | boolean | true if the result options can be a subset, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canOverrideSponsors | ||
| Description |
Tests if the sponsors can be overridden at offering. | ||
| Return | boolean | true if the sponsors can be overridden, false
if constrained | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canConstrainSponsors | ||
| Description |
Tests if the offering sponsors can be a subset of the canonical set. | ||
| Return | boolean | true if the sponsors can be a subset, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOfferingConstrainerRecord | ||
| Description |
Gets the offering constrainer record corresponding to
the given | ||
| Parameters | osid.type.Type | offeringConstrainerRecordType | the type of offering constrainer record to retrieve |
| Return | osid.offering.rules.records.OfferingConstrainerRecord | the offering constrainer record | |
| Errors | NULL_ARGUMENT | offeringConstrainerRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(offeringConstrainerRecordType) is false
| ||
| Compliance | mandatory | This method must be implemented. | |