Interface OfferingConstrainerForm
- All Superinterfaces:
OsidRecord
This is the form for creating and updating OfferingConstrainers
. Like all OsidForm objects, various data elements may be set here
for use in the create and update methods in the
OfferingConstrainerAdminSession . For each data element that may be set,
metadata may be examined to provide display hints or data constraints.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the constrain result options flag.voidClears the constrain sponsors flag.voidClears the constrain time periods flag.voidClears the override time periods flag.voidClears the override description flag.voidClears the override time periods flag.voidClears the override title flag.voidClears the override result options flag.voidClears the override sponsors flag.Gets the metadata for the constrain result options flag.Gets the metadata for the constrain sponsors flag.Gets the metadata for the constrain time periods flag.getOfferingConstrainerFormRecord(Type offeringConstrainerRecordType) Gets theOfferingConstrainerFormRecordcorresponding to the given offering constrainer recordType.Gets the metadata for the override code flag.Gets the metadata for the override description flag.Gets the metadata for the override result options flag.Gets the metadata for the override sponsors flag.Gets the metadata for the override time periods flag.Gets the metadata for the override title flag.voidsetConstrainResultOptions(boolean constrainResultOptions) Sets the constrain result options flag.voidsetConstrainSponsors(boolean constrainSponsors) Sets the constrain sponsors flag.voidsetConstrainTimePeriods(boolean constrainTimePeriods) Sets the constrain time periods flag.voidsetOverrideCode(boolean overrideCode) Sets the overrride code flag.voidsetOverrideDescription(boolean overrideDescription) Sets the overrride description flag.voidsetOverrideResultOptions(boolean overrideResultOptions) Sets the overrride result options flag.voidsetOverrideSponsors(boolean overrideSponsors) Sets the overrride sponsors flag.voidsetOverrideTimePeriods(boolean overrideTimePeriods) Sets the overrride time periods flag.voidsetOverrideTitle(boolean overrideTitle) Sets the overrride title flag.Methods inherited from interface OsidRecord
implementsRecordTypeModifier and TypeMethodDescriptionbooleanimplementsRecordType(Type recordType) Tests if the given type is implemented by this record.
-
Method Details
-
getOverrideDescriptionMetadata
Metadata getOverrideDescriptionMetadata()Gets the metadata for the override description flag.- Returns:
- metadata for the override description flag
- Compliance:
mandatory- This method must be implemented.
-
setOverrideDescription
void setOverrideDescription(boolean overrideDescription) Sets the overrride description flag.- Parameters:
overrideDescription- the override description flag- Throws:
InvalidArgumentException-overrideDescriptionis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearOverrideDescription
void clearOverrideDescription()Clears the override description flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getOverrideTitleMetadata
Metadata getOverrideTitleMetadata()Gets the metadata for the override title flag.- Returns:
- metadata for the override title flag
- Compliance:
mandatory- This method must be implemented.
-
setOverrideTitle
void setOverrideTitle(boolean overrideTitle) Sets the overrride title flag.- Parameters:
overrideTitle- the override title flag- Throws:
InvalidArgumentException-overrideTitlenis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearOverrideTitle
void clearOverrideTitle()Clears the override title flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getOverrideCodeMetadata
Metadata getOverrideCodeMetadata()Gets the metadata for the override code flag.- Returns:
- metadata for the override code flag
- Compliance:
mandatory- This method must be implemented.
-
setOverrideCode
void setOverrideCode(boolean overrideCode) Sets the overrride code flag.- Parameters:
overrideCode- the override code flag- Throws:
InvalidArgumentException-overrideCodeis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearOverrideCode
void clearOverrideCode()Clears the override time periods flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getOverrideTimePeriodsMetadata
Metadata getOverrideTimePeriodsMetadata()Gets the metadata for the override time periods flag.- Returns:
- metadata for the override time periods flag
- Compliance:
mandatory- This method must be implemented.
-
setOverrideTimePeriods
void setOverrideTimePeriods(boolean overrideTimePeriods) Sets the overrride time periods flag.- Parameters:
overrideTimePeriods- the override time periods flag- Throws:
InvalidArgumentException-overrideTimePeriodsis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearOverrideTimePeriods
void clearOverrideTimePeriods()Clears the override time periods flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getConstrainTimePeriodsMetadata
Metadata getConstrainTimePeriodsMetadata()Gets the metadata for the constrain time periods flag.- Returns:
- metadata for the constrain time periods flag
- Compliance:
mandatory- This method must be implemented.
-
setConstrainTimePeriods
void setConstrainTimePeriods(boolean constrainTimePeriods) Sets the constrain time periods flag.- Parameters:
constrainTimePeriods- the constrain time periods flag- Throws:
InvalidArgumentException-constrainTimePeriodsis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearConstrainTimePeriods
void clearConstrainTimePeriods()Clears the constrain time periods flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getOverrideResultOptionsMetadata
Metadata getOverrideResultOptionsMetadata()Gets the metadata for the override result options flag.- Returns:
- metadata for the override result options flag
- Compliance:
mandatory- This method must be implemented.
-
setOverrideResultOptions
void setOverrideResultOptions(boolean overrideResultOptions) Sets the overrride result options flag.- Parameters:
overrideResultOptions- the override result options flag- Throws:
InvalidArgumentException-overrideResultOptionsis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearResultOptions
void clearResultOptions()Clears the override result options flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getConstrainResultOptionsMetadata
Metadata getConstrainResultOptionsMetadata()Gets the metadata for the constrain result options flag.- Returns:
- metadata for the constrain result options flag
- Compliance:
mandatory- This method must be implemented.
-
setConstrainResultOptions
void setConstrainResultOptions(boolean constrainResultOptions) Sets the constrain result options flag.- Parameters:
constrainResultOptions- the constrain result options flag- Throws:
InvalidArgumentException-constrainResultOptionsis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearConstrainResultOptions
void clearConstrainResultOptions()Clears the constrain result options flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getOverrideSponsorsMetadata
Metadata getOverrideSponsorsMetadata()Gets the metadata for the override sponsors flag.- Returns:
- metadata for the override sponsors flag
- Compliance:
mandatory- This method must be implemented.
-
setOverrideSponsors
void setOverrideSponsors(boolean overrideSponsors) Sets the overrride sponsors flag.- Parameters:
overrideSponsors- the override sponsors flag- Throws:
InvalidArgumentException-overrideSponsorsis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearSponsors
void clearSponsors()Clears the override sponsors flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getConstrainSponsorsMetadata
Metadata getConstrainSponsorsMetadata()Gets the metadata for the constrain sponsors flag.- Returns:
- metadata for the constrain sponsors flag
- Compliance:
mandatory- This method must be implemented.
-
setConstrainSponsors
void setConstrainSponsors(boolean constrainSponsors) Sets the constrain sponsors flag.- Parameters:
constrainSponsors- the constrain sponsors flag- Throws:
InvalidArgumentException-constrainSponsorsis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearConstrainSponsors
void clearConstrainSponsors()Clears the constrain sponsors flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getOfferingConstrainerFormRecord
OfferingConstrainerFormRecord getOfferingConstrainerFormRecord(Type offeringConstrainerRecordType) throws OperationFailedException Gets theOfferingConstrainerFormRecordcorresponding to the given offering constrainer recordType.- Parameters:
offeringConstrainerRecordType- an offering constrainer record type- Returns:
- the offering constrainer form record
- Throws:
NullArgumentException-offeringConstrainerRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(offeringConstrainerRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-