Interface OfferingConstrainer
- All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidConstrainer, OsidObject, OsidRule
An OfferingConstrainer describes the rules for constraining the
bids in a canonical unit.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests if the offering result options can be a subset of the canonical set.booleanTests if the offering sponsors can be a subset of the canonical set.booleanTests if offerings in all specified time periods are optional.booleanTests if the code can be overridden at offering.booleanTests if the description can be overridden at offering.booleanTests if the result options can be overridden at offering.booleanTests if the sponsors can be overridden at offering.booleanTests if the offerings can be made outside the specified time period cycles.booleanTests if the title can be overridden at offering.getOfferingConstrainerRecord(Type offeringConstrainerRecordType) Gets the offering constrainer record corresponding to the givenOfferingConstrainerrecordType.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface Operable
isActive, isDisabled, isEnabled, isOperationalModifier and TypeMethodDescriptionbooleanisActive()Tests if this operable is active.booleanTests if this operable is administravely disabled.booleanTests if this operable is administravely enabled.booleanTests if thisOperableis operational.Methods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.Methods inherited from interface OsidRule
getConditionRecordTypes, getRule, getRuleId, hasRule
-
Method Details
-
canOverrideDescription
boolean canOverrideDescription()Tests if the description can be overridden at offering.- Returns:
trueif the description can be overridden,falseif constrained- Compliance:
mandatory- This method must be implemented.
-
canOverrideTitle
boolean canOverrideTitle()Tests if the title can be overridden at offering.- Returns:
trueif the title can be overridden,falseif constrained- Compliance:
mandatory- This method must be implemented.
-
canOverrideCode
boolean canOverrideCode()Tests if the code can be overridden at offering.- Returns:
trueif the code can be overridden,falseif constrained- Compliance:
mandatory- This method must be implemented.
-
canOverrideTimePeriods
boolean canOverrideTimePeriods()Tests if the offerings can be made outside the specified time period cycles.- Returns:
trueif the time period cycles can be overridden,falseif constrained- Compliance:
mandatory- This method must be implemented.
-
canConstrainTimePeriods
boolean canConstrainTimePeriods()Tests if offerings in all specified time periods are optional.- Returns:
trueif the time period cycles can be optional,falseif constrained- Compliance:
mandatory- This method must be implemented.
-
canOverrideResultOptions
boolean canOverrideResultOptions()Tests if the result options can be overridden at offering.- Returns:
trueif the result options can be overridden,falseif constrained- Compliance:
mandatory- This method must be implemented.
-
canConstrainResultOptions
boolean canConstrainResultOptions()Tests if the offering result options can be a subset of the canonical set.- Returns:
trueif the result options can be a subset,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
canOverrideSponsors
boolean canOverrideSponsors()Tests if the sponsors can be overridden at offering.- Returns:
trueif the sponsors can be overridden,falseif constrained- Compliance:
mandatory- This method must be implemented.
-
canConstrainSponsors
boolean canConstrainSponsors()Tests if the offering sponsors can be a subset of the canonical set.- Returns:
trueif the sponsors can be a subset,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getOfferingConstrainerRecord
OfferingConstrainerRecord getOfferingConstrainerRecord(Type offeringConstrainerRecordType) throws OperationFailedException Gets the offering constrainer record corresponding to the givenOfferingConstrainerrecordType. This method is used to retrieve an object implementing the requested record. TheofferingConstrainerRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(offeringConstrainerRecordType)istrue.- Parameters:
offeringConstrainerRecordType- the type of offering constrainer record to retrieve- Returns:
- the offering constrainer record
- Throws:
NullArgumentException-offeringConstrainerRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(offeringConstrainerRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-