|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An interface describing the functionality and implementation DateBook must provide.
| Method Summary | |
void |
addCategory(java.lang.String category)
Adds a category |
MemoRecord |
createMemoRecord()
Creates a new MemoRecord |
void |
deleteMemoRecord(MemoRecord memoRecord)
Deletes a MemoRecord from the device |
Vector |
getCategories()
|
RecordList |
getMemoRecords()
Reads stored MemoRecords from the device. |
void |
removeCategory(java.lang.String category)
Removes a category |
void |
renameCategory(java.lang.String oldName,
java.lang.String newName)
Renames a category |
| Method Detail |
public RecordList getMemoRecords()
MemoRecords from the device. The returned Vector will be adapted, when records are deleted or created later on.MemoRecords stored on this device
public MemoRecord createMemoRecord()
throws NotSupportedByDeviceException
MemoRecordpublic void deleteMemoRecord(MemoRecord memoRecord)
MemoRecord from the devicememoRecord - MemoRecord to delete
public Vector getCategories()
throws NotSupportedByDeviceException
Strings containing the category name
public void addCategory(java.lang.String category)
throws NotSupportedByDeviceException
category - Category to add
public void removeCategory(java.lang.String category)
throws NotSupportedByDeviceException
category - the name of the category to remove
public void renameCategory(java.lang.String oldName,
java.lang.String newName)
throws NotSupportedByDeviceException
oldName - old name of the categorynewName - new name of the category
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||