OSID Logo
OSID Specifications
checklist package
Version 3.1.0
Interfaceosid.checklist.TodoForm
Implementsosid.OsidObjectForm
osid.OsidContainableForm
osid.OsidTemporalForm
osid.OsidFederateableForm
Implemented Byosid.checklist.batch.TodoBatchForm
Used Byosid.checklist.TodoAdminSession
Description

This is the form for creating and updating Todos. 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.

MethodgetCompleteMetadata
Description

Gets the metadata for the completed status.

Returnosid.Metadata metadata for the completed status
Compliancemandatory This method must be implemented.
MethodsetComplete
Description

Sets the completed status.

Parametersbooleancomplete the new completed status
ErrorsINVALID_ARGUMENT complete is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearComplete
Description

Clears the complete status.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetPriorityMetadata
Description

Gets the metadata for the priority.

Returnosid.Metadata metadata for the priority
Compliancemandatory This method must be implemented.
MethodsetPriority
Description

Sets the priority.

Parametersosid.type.TypepriorityType the new priority
ErrorsINVALID_ARGUMENT priorityType is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT priorityType is null
Compliancemandatory This method must be implemented.
MethodclearPriority
Description

Clears the priority.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetDueDateMetadata
Description

Gets the metadata for the due date.

Returnosid.Metadata metadata for the due date
Compliancemandatory This method must be implemented.
MethodsetDueDate
Description

Sets the due date.

Parametersosid.calendaring.DateTimedate the new due date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearDueDate
Description

Clears the due date.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetDependenciesMetadata
Description

Gets the metadata for the dependencies.

Returnosid.Metadata metadata for the dependencies
Compliancemandatory This method must be implemented.
MethodsetDependencies
Description

Sets the dependencies.

Parametersosid.id.Id[]todoIds the new dependencies
ErrorsINVALID_ARGUMENT todoIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT todoIds is null
Compliancemandatory This method must be implemented.
MethodclearDependencies
Description

Clears the dependencies.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetTodoFormRecord
Description

Gets the TodoFormRecord corresponding to the given todo record Type.

Parametersosid.type.TypetodoRecordType the todo record type
Returnosid.checklist.records.TodoFormRecord the todo form record
ErrorsNULL_ARGUMENT todoRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(todoRecordType) is false
Compliancemandatory This method must be implemented.