public interface TodoForm extends OsidObjectForm, OsidContainableForm, OsidTemporalForm, OsidFederateableForm
This is the form for creating and updating Todo objects.
Like all OsidForm objects, various data elements may be set
here for use in the create and update methods in the
TodoAdminSession. For each data element that may be set, metadata
may be examined to provide display hints or data constraints.
| Modifier and Type | Method and Description |
|---|---|
void |
clearComplete()
Clears the complete status.
|
void |
clearDependencies()
Clears the dependencies.
|
void |
clearDueDate()
Clears the due date.
|
void |
clearPriority()
Clears the priority.
|
Metadata |
getCompleteMetadata()
Gets the metadata for the completed status.
|
Metadata |
getDependenciesMetadata()
Gets the metadata for the dependencies.
|
Metadata |
getDueDateMetadata()
Gets the metadata for the due date.
|
Metadata |
getPriorityMetadata()
Gets the metadata for the priority.
|
TodoFormRecord |
getTodoFormRecord(Type todoRecordType)
Gets the
TodoFormRecord corresponding to the given todo
record Type. |
void |
setComplete(boolean complete)
Sets the completed status.
|
void |
setDependencies(Id[] todoIds)
Sets the dependencies.
|
void |
setDueDate(DateTime date)
Sets the due date.
|
void |
setPriority(Type priorityType)
Sets the priority.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentclearSequestered, getSequesteredMetadata, setSequesteredclearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDateMetadata getCompleteMetadata()
mandatory - This method must be implemented. void setComplete(boolean complete)
complete - the new completed statusInvalidArgumentException - complete is
invalidNoAccessException - Metadata.isReadOnly()
is true mandatory - This method must be implemented. void clearComplete()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getPriorityMetadata()
mandatory - This method must be implemented. void setPriority(Type priorityType)
priorityType - the new priorityInvalidArgumentException - priorityType
is invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - priorityType is
null mandatory - This method must be implemented. void clearPriority()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getDueDateMetadata()
mandatory - This method must be implemented. void setDueDate(DateTime date)
date - the new due dateInvalidArgumentException - date is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - date is
null mandatory - This method must be implemented. void clearDueDate()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getDependenciesMetadata()
mandatory - This method must be implemented. void setDependencies(Id[] todoIds)
todoIds - the new dependenciesInvalidArgumentException - todoIds is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - todoIds is
null mandatory - This method must be implemented. void clearDependencies()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. TodoFormRecord getTodoFormRecord(Type todoRecordType) throws OperationFailedException
TodoFormRecord corresponding to the given todo
record Type. todoRecordType - the todo record typeNullArgumentException - todoRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(todoRecordType) is false mandatory - This method must be implemented.