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

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

public class PalmMemoBook
extends java.lang.Object
implements MemoBook

Implementation of the MemoBook interface for PalmOS


Constructor Summary
PalmMemoBook()
           
 
Method Summary
 void addCategory(java.lang.String category)
          Always throws NotSupportedByDeviceException since categories are currently not supported
 MemoRecord createMemoRecord()
          Creates a new MemoRecord
 void deleteMemoRecord(MemoRecord memoRecord)
          Deletes a MemoRecord from the device
 Vector getCategories()
          Always throws NotSupportedByDeviceException since categories are currently not supported
 RecordList getMemoRecords()
          Reads stored MemoRecords 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

PalmMemoBook

public PalmMemoBook()
Method Detail

getMemoRecords

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

createMemoRecord

public MemoRecord createMemoRecord()
                            throws NotSupportedByDeviceException
Description copied from interface: MemoBook
Creates a new MemoRecord
Specified by:
createMemoRecord in interface MemoBook
See Also:
MemoBook.createMemoRecord()

getCategories

public Vector getCategories()
                     throws NotSupportedByDeviceException
Always throws NotSupportedByDeviceException since categories are currently not supported
Specified by:
getCategories in interface MemoBook
See Also:
MemoBook.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 MemoBook
See Also:
MemoBook.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 MemoBook
See Also:
MemoBook.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 MemoBook
See Also:
MemoBook.renameCategory(java.lang.String, java.lang.String)

deleteMemoRecord

public void deleteMemoRecord(MemoRecord memoRecord)
Description copied from interface: MemoBook
Deletes a MemoRecord from the device
Specified by:
deleteMemoRecord in interface MemoBook
See Also:
MemoBook.deleteMemoRecord(superwaba.ext.xplat.io.pimal.memobook.MemoRecord)