org.olat.catalog
Class CatalogBookmarkHandler
java.lang.Object
org.olat.catalog.CatalogBookmarkHandler
- All Implemented Interfaces:
- BookmarkHandler
public class CatalogBookmarkHandler
- extends java.lang.Object
- implements BookmarkHandler
Description:
Bookmark handler for catalog bookmarks: activates the repository entry site,
activates the catalog menu and then activates the catalog item with the given
id
Initial Date: 28.05.2008
- Author:
- gnaegi
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatalogBookmarkHandler
public CatalogBookmarkHandler()
tryToLaunch
public boolean tryToLaunch(Bookmark bookmark,
UserRequest ureq,
WindowControl wControl)
- Description copied from interface:
BookmarkHandler
- Try to launch the given OLAT resource
- Specified by:
tryToLaunch in interface BookmarkHandler
- Parameters:
bookmark - The bookmark to be launchedwControl - The current window control
- Returns:
- TRUE: this handler was responsible for launching this bookmark.
Note that the launching process could have failed e.g. because the
bookmark resource does not exist anymore. FALSE: this handler is
not responsible for this bookmark, another handler should try it.
- See Also:
BookmarkHandler.tryToLaunch(org.olat.bookmark.Bookmark, org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
createJumpInURL
public java.lang.String createJumpInURL(Bookmark bookmark)
- Description copied from interface:
BookmarkHandler
- Create a fully qualified URL that can be used to launch this bookmark e.g.
from a browser bookmark or an RSS feed document
- Specified by:
createJumpInURL in interface BookmarkHandler
- Returns:
- URL or NULL if not successful
- See Also:
org.olat.bookmark.handler.BookmarkHandler#createJumpInURL(org.olat.bookmark.Bookmark)