superwaba.ext.xplat.io.pimal.todobook
Interface ToDoRecord

All Known Implementing Classes:
PalmToDoRecord, PocketPCToDoRecord

public interface ToDoRecord
extends VCalRecord

An interface describing the functionality an implementation of an ToDoRecord (e.g. one person's/company's contact information) must provide


Method Summary
 Vector getFields()
          Reads ToDoFields from the device, maps them and stores them in ToDoFields and returns them.
 java.lang.String rawReadNote()
          Reads this ToDoRecord's note directly.
 void rawWriteNote(java.lang.String note)
          Writes this ToDoRecord's note directly
 void registerNotSupportedhandler(ToDoNotSupportedHandler nsh)
          Registers a NotSupportedHandler that handle's ToDoFields this device cannot store
 void setFields(Vector fields)
          Reads information from the passed fields, maps them and writes them to the device.
 

Method Detail

getFields

public Vector getFields()
Reads ToDoFields from the device, maps them and stores them in ToDoFields and returns them.
Returns:
a Vector containing the contact information of this record in ToDoFields

setFields

public void setFields(Vector fields)
Reads information from the passed fields, maps them and writes them to the device. Passes not supported fields to a NotSupportedHandler
Parameters:
fields - the fields to write to the device

rawReadNote

public java.lang.String rawReadNote()
Reads this ToDoRecord's note directly.
Returns:
the note's text

rawWriteNote

public void rawWriteNote(java.lang.String note)
Writes this ToDoRecord's note directly
Parameters:
note - the text to write to the note

registerNotSupportedhandler

public void registerNotSupportedhandler(ToDoNotSupportedHandler nsh)
Registers a NotSupportedHandler that handle's ToDoFields this device cannot store
Parameters:
nsh - the NotSupportedHandler to register