public interface PageBookmarkable
| Modifier and Type | Method and Description |
|---|---|
void |
addAllBookmarks(Set<PageBookmark> bookmarks)
Adds the given set of bookmarks to the stored ones.
|
void |
addBookmark(PageBookmark bookmark)
Adds the Bookmark.
|
PageBookmark |
getBookmark(String id) |
Set<PageBookmark> |
getBookmarks() |
PageBookmark |
getDefaultBookmark() |
void |
moveBookmark(int sourceOrder,
int targetOrder) |
void |
removeAllBookmarks()
Removes all bookmarks.
|
void |
removeBookmark(String id) |
void |
setBookmarks(Set<PageBookmark> bookmarks)
Replaces the stored bookmarks with the given set.
|
void |
setDefaultBookmark(String id) |
void addBookmark(PageBookmark bookmark)
bookmark - org.eclipse.stardust.common.error.InvalidArgumentException - if the id of the Bookmark already exists.PageBookmark getBookmark(String id)
Set<PageBookmark> getBookmarks()
void moveBookmark(int sourceOrder,
int targetOrder)
void removeBookmark(String id)
PageBookmark getDefaultBookmark()
void setDefaultBookmark(String id)
void setBookmarks(Set<PageBookmark> bookmarks)
bookmarks - org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains more than one element with the same
Identifiable#id.void addAllBookmarks(Set<PageBookmark> bookmarks)
bookmarks - org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains more than one element with the same
Identifiable#id.org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains at least one bookmark with the same
Identifiable#id as a stored bookmark.void removeAllBookmarks()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.