public interface BookmarkDAO extends DAO
BookmarkDAO
defines a type for performing CRUD operations on instances of bookmarks
.Modifier and Type | Method and Description |
---|---|
bookmarks |
get(Guid id)
Retrieves the specified bookmark with the supplied id.
|
List<bookmarks> |
getAll()
Returns all defined bookmarks.
|
bookmarks |
getByName(String name)
Retrieves the bookmark with the supplied name.
|
void |
remove(Guid id)
Removes the specified bookmark.
|
void |
save(bookmarks bookmark)
Saves the bookmark.
|
void |
update(bookmarks bookmark)
Updates the bookmark with changes.
|
bookmarks get(Guid id)
id
- bookmarks getByName(String name)
name
- the bookmark namenull
if no such bookmark is presentvoid save(bookmarks bookmark)
bookmark
- void update(bookmarks bookmark)
bookmark
- void remove(Guid id)
id
- the bookmark idCopyright © 2012. All Rights Reserved.