net.sf.zekr.engine.bookmark
Class BookmarkSetGroup
java.lang.Object
net.sf.zekr.engine.bookmark.BookmarkSetGroup
public class BookmarkSetGroup
- extends java.lang.Object
- Since:
- Zekr 1.0
- Author:
- Mohsen Saboorian
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookmarkSetGroup
public BookmarkSetGroup()
addBookmarkSet
public void addBookmarkSet(BookmarkSet bookmarkSet)
- Adds a bookmark set to the list of bookmark sets group.
bookmarkSet.getFileName()
should not be
null, and should be unique among other bookmark sets, since it is used as a key to store this bookmark set.
- Parameters:
bookmarkSet
- the bookmark set to be added
removeBookmarkSet
public void removeBookmarkSet(BookmarkSet bookmarkSet)
removeBookmarkSet
public BookmarkSet removeBookmarkSet(java.lang.String bookmarkSetId)
getDefault
public BookmarkSet getDefault()
- Returns:
- the default bookmark set
setAsDefault
public void setAsDefault(BookmarkSet bookmarkSet)
getBookmarkSets
public java.util.List getBookmarkSets()
getBookmarkSet
public BookmarkSet getBookmarkSet(java.lang.String bookmarkSetId)
containsId
public boolean containsId(java.lang.String id)