info.magnolia.ui.framework.favorite
Class FavoriteStore
java.lang.Object
info.magnolia.ui.framework.favorite.FavoriteStore
@Singleton
public class FavoriteStore
- extends Object
Retrieves root node for favorites or bookmarks. Creates those nodes if not yet around.
Method Summary |
javax.jcr.Node |
getBookmarkRoot()
Get the bookmark root - create it if it's not yet around. |
javax.jcr.Node |
getFavoriteRoot()
Get the favorites root - create it if it's not yet around. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WORKSPACE_NAME
public static final String WORKSPACE_NAME
- See Also:
- Constant Field Values
FAVORITES_PATH
public static final String FAVORITES_PATH
- See Also:
- Constant Field Values
BOOKMARKS_PATH
public static final String BOOKMARKS_PATH
- See Also:
- Constant Field Values
FavoriteStore
public FavoriteStore()
getBookmarkRoot
public javax.jcr.Node getBookmarkRoot()
throws javax.jcr.RepositoryException
- Get the bookmark root - create it if it's not yet around.
- Returns:
- the bookmark node for all favorites
- Throws:
javax.jcr.RepositoryException
getFavoriteRoot
public javax.jcr.Node getFavoriteRoot()
throws javax.jcr.RepositoryException
- Get the favorites root - create it if it's not yet around.
- Returns:
- the root node for all favorites
- Throws:
javax.jcr.RepositoryException
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.