|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An interface describing the functionality and implementation ToDoBook must provide.
| Method Summary | |
void |
addCategory(java.lang.String category)
Adds a category |
ToDoRecord |
createToDoRecord()
Creates a new ToDoRecord |
void |
deleteToDoRecord(ToDoRecord todoRecord)
Deletes a ToDoRecord from the device |
Vector |
getCategories()
|
RecordList |
getToDoRecords()
Reads stored ToDoRecords 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 getToDoRecords()
ToDoRecords from the device. The returned Vector will be adapted, when records are deleted or created later on.ToDoRecords stored on this device
public ToDoRecord createToDoRecord()
throws NotSupportedByDeviceException
ToDoRecordpublic void deleteToDoRecord(ToDoRecord todoRecord)
ToDoRecord from the devicetodoRecord - ToDoeRecord 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 | ||||||||