org.olat.repository
Class RepoBookmarkHandler
java.lang.Object
org.olat.repository.RepoBookmarkHandler
- All Implemented Interfaces:
- BookmarkHandler
public class RepoBookmarkHandler
- extends java.lang.Object
- implements BookmarkHandler
Description:
Bookmark launch handler for repository entry bookmarks. Creates or activates
a dynamic tab and loads the olat resource from the repository entry into the
tab
Initial Date: 27.05.2008
- Author:
- gnaegi
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepoBookmarkHandler
public RepoBookmarkHandler()
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:
org.olat.bookmark.handler.BookmarkLaunchHandler#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)