Interface OsidContainableForm
- All Superinterfaces:
Identifiable, OsidForm, Suppliable
- All Known Subinterfaces:
AssessmentPartForm, CompositionBatchForm, CompositionForm, EventBatchForm, EventForm, RecurringEventBatchForm, RecurringEventForm, ReplyBatchForm, ReplyForm, RequisiteForm, ScheduleSlotBatchForm, ScheduleSlotForm, TodoBatchForm, TodoForm
This form is used to create and update containers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the sequestered flag.Gets the metadata for the sequestered flag.voidsetSequestered(boolean sequestered) Sets the sequestered flag.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidForm
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocaleModifier and TypeMethodDescriptionGets a default locale for the form.Metadata[]Gets a list of metadata for the elements in this form which are not valid.Gets the metadata for the comment corresponding to this form submission.Gets the locales available for this form.Gets text messages corresponding to additional instructions to pass form validation.booleanTests if this form is for an update operation.booleanisValid()Tests if this form is in a valid state for submission.voidsetJournalComment(String comment) Sets a comment.voidSpecifies a language and script type for the form.
-
Method Details
-
getSequesteredMetadata
Metadata getSequesteredMetadata()Gets the metadata for the sequestered flag.- Returns:
- metadata for the sequestered flag
- Compliance:
mandatory- This method must be implemented.
-
setSequestered
void setSequestered(boolean sequestered) Sets the sequestered flag.- Parameters:
sequestered- the new sequestered flag- Throws:
InvalidArgumentException-sequesteredis invalidNoAccessException-Metadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
clearSequestered
void clearSequestered()Clears the sequestered flag.- Throws:
NoAccessException-Metadata.isRequired()orMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-