superwaba.ext.palm.io.builtin.pimal
Class PalmToDoBook

java.lang.Object
  |
  +--superwaba.ext.palm.io.builtin.pimal.PalmToDoBook

public class PalmToDoBook
extends java.lang.Object
implements ToDoBook

Implementation of the ToDoBook interface for PalmOS


Constructor Summary
PalmToDoBook()
           
 
Method Summary
 void addCategory(java.lang.String category)
          Always throws NotSupportedByDeviceException since categories are currently not supported
 ToDoRecord createToDoRecord()
          Creates a new ToDoRecord
 void deleteToDoRecord(ToDoRecord todoRecord)
          Deletes a ToDoRecord from the device
 Vector getCategories()
          Always throws NotSupportedByDeviceException since categories are currently not supported
 RecordList getToDoRecords()
          Reads stored ToDoRecords from the device.
 void removeCategory(java.lang.String category)
          Always throws NotSupportedByDeviceException since categories are currently not supported
 void renameCategory(java.lang.String oldName, java.lang.String newName)
          Always throws NotSupportedByDeviceException since categories are currently not supported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PalmToDoBook

public PalmToDoBook()
Method Detail

getToDoRecords

public RecordList getToDoRecords()
Description copied from interface: ToDoBook
Reads stored ToDoRecords from the device. The returned Vector will be adapted, when records are deleted or created later on.
Specified by:
getToDoRecords in interface ToDoBook
See Also:
ToDoBook.getToDoRecords()

createToDoRecord

public ToDoRecord createToDoRecord()
                            throws NotSupportedByDeviceException
Description copied from interface: ToDoBook
Creates a new ToDoRecord
Specified by:
createToDoRecord in interface ToDoBook
See Also:
ToDoBook.createToDoRecord()

getCategories

public Vector getCategories()
                     throws NotSupportedByDeviceException
Always throws NotSupportedByDeviceException since categories are currently not supported
Specified by:
getCategories in interface ToDoBook
See Also:
ToDoBook.getCategories()

addCategory

public void addCategory(java.lang.String category)
                 throws NotSupportedByDeviceException
Always throws NotSupportedByDeviceException since categories are currently not supported
Specified by:
addCategory in interface ToDoBook
See Also:
ToDoBook.addCategory(java.lang.String)

removeCategory

public void removeCategory(java.lang.String category)
                    throws NotSupportedByDeviceException
Always throws NotSupportedByDeviceException since categories are currently not supported
Specified by:
removeCategory in interface ToDoBook
See Also:
ToDoBook.removeCategory(java.lang.String)

renameCategory

public void renameCategory(java.lang.String oldName,
                           java.lang.String newName)
                    throws NotSupportedByDeviceException
Always throws NotSupportedByDeviceException since categories are currently not supported
Specified by:
renameCategory in interface ToDoBook
See Also:
ToDoBook.renameCategory(java.lang.String, java.lang.String)

deleteToDoRecord

public void deleteToDoRecord(ToDoRecord todoRecord)
Description copied from interface: ToDoBook
Deletes a ToDoRecord from the device
Specified by:
deleteToDoRecord in interface ToDoBook
See Also:
ToDoBook.deleteToDoRecord(superwaba.ext.xplat.io.pimal.todobook.ToDoRecord)