public class DefaultBookmarksAndHistoryManager extends java.lang.Object implements BookmarksAndHistoryManager
Constructor and Description |
---|
DefaultBookmarksAndHistoryManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
existsBookmarksGroup(java.lang.String name) |
boolean |
existsBookmarksHistory(java.lang.String name) |
java.util.Collection<java.lang.String> |
getBookmarkNames() |
Bookmarks |
getBookmarksGroup(java.lang.String name) |
History |
getHistoryGroup(java.lang.String name) |
java.util.Collection<java.lang.String> |
getHistoryNames() |
ResourcesStorage |
getPrimaryStorage() |
ResourcesStorage |
getSecondaryStorage() |
void |
load() |
void |
registerBookmarksGroup(java.lang.String name) |
void |
registerBookmarksGroup(java.lang.String name,
Bookmarks bookmarks) |
void |
registerHistoryGroup(java.lang.String name,
History history) |
void |
registerHistoryGroup(java.lang.String name,
int size) |
void |
save() |
void |
setPrimaryStorage(ResourcesStorage primaryStorage) |
void |
setSecondaryStorage(ResourcesStorage secondaryStorage) |
public boolean existsBookmarksGroup(java.lang.String name)
existsBookmarksGroup
in interface BookmarksAndHistoryManager
public boolean existsBookmarksHistory(java.lang.String name)
existsBookmarksHistory
in interface BookmarksAndHistoryManager
public java.util.Collection<java.lang.String> getBookmarkNames()
getBookmarkNames
in interface BookmarksAndHistoryManager
public java.util.Collection<java.lang.String> getHistoryNames()
getHistoryNames
in interface BookmarksAndHistoryManager
public ResourcesStorage getPrimaryStorage()
getPrimaryStorage
in interface BookmarksAndHistoryManager
public ResourcesStorage getSecondaryStorage()
getSecondaryStorage
in interface BookmarksAndHistoryManager
public void setPrimaryStorage(ResourcesStorage primaryStorage)
setPrimaryStorage
in interface BookmarksAndHistoryManager
public void setSecondaryStorage(ResourcesStorage secondaryStorage)
setSecondaryStorage
in interface BookmarksAndHistoryManager
public void registerBookmarksGroup(java.lang.String name, Bookmarks bookmarks)
registerBookmarksGroup
in interface BookmarksAndHistoryManager
public void registerBookmarksGroup(java.lang.String name)
registerBookmarksGroup
in interface BookmarksAndHistoryManager
public Bookmarks getBookmarksGroup(java.lang.String name)
getBookmarksGroup
in interface BookmarksAndHistoryManager
public void registerHistoryGroup(java.lang.String name, History history)
registerHistoryGroup
in interface BookmarksAndHistoryManager
public void registerHistoryGroup(java.lang.String name, int size)
registerHistoryGroup
in interface BookmarksAndHistoryManager
public History getHistoryGroup(java.lang.String name)
getHistoryGroup
in interface BookmarksAndHistoryManager
public void save()
save
in interface BookmarksAndHistoryManager
public void load()
load
in interface BookmarksAndHistoryManager