org.olat.bookmark
Class ManageBookmarkController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.bookmark.ManageBookmarkController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class ManageBookmarkController
extends BasicController

Description:

Author:
Sabina Jeger

Field Summary
static java.lang.String SEARCH_TYPE_ALL
          constructor constant to search for all repository entry types *
 
Constructor Summary
ManageBookmarkController(UserRequest ureq, WindowControl wControl, boolean allowEdit, java.lang.String type)
          Constructor for bookmark list and manage controller.
 
Method Summary
 void event(UserRequest ureq, Component source, Event event)
          abstract event method for subclasses.
 void event(UserRequest ureq, Controller source, Event event)
          the only method of the interface controllereventlistener.
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SEARCH_TYPE_ALL

public static final java.lang.String SEARCH_TYPE_ALL
constructor constant to search for all repository entry types *

See Also:
Constant Field Values
Constructor Detail

ManageBookmarkController

public ManageBookmarkController(UserRequest ureq,
                                WindowControl wControl,
                                boolean allowEdit,
                                java.lang.String type)
Constructor for bookmark list and manage controller. The controller can be configured using the allowEdit flag in the constructor and restrict the search to specific repository entry types using the type attribute.

Parameters:
ureq - The user request
wControl - The window controller
allowEdit - true: table allows edit and delete of bookmarks, false: only launch possible
type - Type of repository entries to be displayed or SEARCH_TYPE_ALL to display all bookmarks
Method Detail

event

public void event(UserRequest ureq,
                  Component source,
                  Event event)
Description copied from class: DefaultController
abstract event method for subclasses. the event received from the component we are listening to are always rerouted to this method here, except when the component has been disposed, in which case the events are simply ignored.

See Also:
DefaultController.event(org.olat.core.gui.UserRequest, org.olat.core.gui.components.Component, org.olat.core.gui.control.Event)

event

public void event(UserRequest ureq,
                  Controller source,
                  Event event)
Description copied from class: DefaultController
the only method of the interface controllereventlistener. always gets called when a controller we 'subscribed' to fires an event. we provide a default implementation here since there are many controllers which are standalone and need no subcontrollers

See Also:
DefaultController.event(org.olat.core.gui.UserRequest, org.olat.core.gui.control.Controller, org.olat.core.gui.control.Event)