|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.my.portlets.bookmarks.dao.template.TemplateUserBookmarkStore
public class TemplateUserBookmarkStore
Creates new BookmarkSet objects based on bookmarks for a template user, passes all other operations to an enclosed BookmarkStore instance.
| Constructor Summary | |
|---|---|
TemplateUserBookmarkStore(BookmarkStore enclosed,
TemplateBookmarkSetResolver resolver)
|
|
| Method Summary | |
|---|---|
BookmarkSet |
createBookmarkSet(java.lang.String owner,
java.lang.String name)
Creates a BookmarkSet and stores it in the persistent store. |
BookmarkSet |
getBookmarkSet(java.lang.String owner,
java.lang.String name)
Gets a BookmarkSet for the specified owner and name. |
void |
removeBookmarkSet(java.lang.String owner,
java.lang.String name)
Removes a BookmarkSet from the persistent store. |
void |
storeBookmarkSet(BookmarkSet bookmarkSet)
Stores a new BookmarkSet or updates an existing BookmarkSet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateUserBookmarkStore(BookmarkStore enclosed,
TemplateBookmarkSetResolver resolver)
| Method Detail |
|---|
public BookmarkSet getBookmarkSet(java.lang.String owner,
java.lang.String name)
BookmarkStore
getBookmarkSet in interface BookmarkStoreowner - The owner of the BookmarkSet to retreive.name - The name of the BookmarkSet to retrieve.
BookmarkStore.getBookmarkSet(java.lang.String, java.lang.String)public void storeBookmarkSet(BookmarkSet bookmarkSet)
BookmarkStore
storeBookmarkSet in interface BookmarkStorebookmarkSet - The BookmarkSet to persist.
TODO should this return something?BookmarkStore.storeBookmarkSet(edu.wisc.my.portlets.bookmarks.domain.BookmarkSet)
public void removeBookmarkSet(java.lang.String owner,
java.lang.String name)
BookmarkStore
removeBookmarkSet in interface BookmarkStoreowner - The owner of the BookmarkSet to remove.name - The name of the BookmarkSet to remove.BookmarkStore.removeBookmarkSet(java.lang.String, java.lang.String)
public BookmarkSet createBookmarkSet(java.lang.String owner,
java.lang.String name)
BookmarkStore
createBookmarkSet in interface BookmarkStoreowner - The owner of the BookmarkSet to create.name - The name of the BookmarkSet to create.
BookmarkStore.createBookmarkSet(java.lang.String, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||