org.olat.home
Class HomeCalendarController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.home.HomeCalendarController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable, Activateable, GenericEventListener

public class HomeCalendarController
extends DefaultController
implements Activateable, GenericEventListener


Constructor Summary
HomeCalendarController(UserRequest ureq, WindowControl windowControl)
           
 
Method Summary
 void activate(UserRequest ureq, java.lang.String viewIdentifier)
          FIXME:pb:discussion FJ should we return boolean if activation was successful?
 void event(Event event)
           
 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.
static java.util.List<KalendarRenderWrapper> getListOfCalendarWrappers(UserRequest ureq, WindowControl wControl)
           
static java.util.List getListOfImportedCalendarWrappers(UserRequest ureq)
           
 
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
 
Methods inherited from interface org.olat.core.gui.control.Controller
addControllerListener, dispatchEvent, dispose, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed
 

Constructor Detail

HomeCalendarController

public HomeCalendarController(UserRequest ureq,
                              WindowControl windowControl)
Method Detail

activate

public void activate(UserRequest ureq,
                     java.lang.String viewIdentifier)
Description copied from interface: Activateable
FIXME:pb:discussion FJ should we return boolean if activation was successful?

Specified by:
activate in interface Activateable

getListOfCalendarWrappers

public static java.util.List<KalendarRenderWrapper> getListOfCalendarWrappers(UserRequest ureq,
                                                                              WindowControl wControl)

getListOfImportedCalendarWrappers

public static java.util.List getListOfImportedCalendarWrappers(UserRequest ureq)

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.


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


event

public void event(Event event)
Specified by:
event in interface GenericEventListener