|
|||||||||
| 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 |
DateRecord |
createDateRecord()
Creates a new DateRecord |
void |
deleteDateRecord(DateRecord dateRecord)
Deletes a DateRecord from the device |
Vector |
getCategories()
|
RecordList |
getDateRecords()
Reads stored DateRecords 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 getDateRecords()
DateRecords from the device. The returned Vector will be adapted, when records are deleted or created later on.DateRecords stored on this device
public DateRecord createDateRecord()
throws NotSupportedByDeviceException
DateRecordpublic void deleteDateRecord(DateRecord dateRecord)
DateRecord from the devicedateRecord - DateRecord 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 | ||||||||