org.olat.group.ui.run
Class BusinessGroupMainRunController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.core.gui.control.controller.MainLayoutBasicController
              extended by org.olat.group.ui.run.BusinessGroupMainRunController
All Implemented Interfaces:
CustomCSSProvider, Controller, ControllerEventListener, Disposable, MainLayoutController, GenericEventListener

public class BusinessGroupMainRunController
extends MainLayoutBasicController
implements GenericEventListener

Description:
Runtime environment for a business group. Use the BGControllerFactory and not the constructor to create an instance of this controller.

Version:
Initial Date: Aug 11, 2004
Author:
patrick

Field Summary
static java.lang.String ACTIVITY_MENUSELECT_ADMINISTRATION
          activity identitfyer: user selected administration in menu *
static java.lang.String ACTIVITY_MENUSELECT_CALENDAR
          activity identitfyer: user selected calendar in menu *
static java.lang.String ACTIVITY_MENUSELECT_CHAT
          activity identitfyer: user selected chat in menu *
static java.lang.String ACTIVITY_MENUSELECT_CONTACTFORM
          activity identitfyer: user selected contactform in menu *
static java.lang.String ACTIVITY_MENUSELECT_FOLDER
          activity identitfyer: user selected folder in menu *
static java.lang.String ACTIVITY_MENUSELECT_FORUM
          activity identitfyer: user selected forum in menu *
static java.lang.String ACTIVITY_MENUSELECT_INFORMATION
          activity identitfyer: user selected information in menu *
static java.lang.String ACTIVITY_MENUSELECT_MEMBERSLIST
          activity identitfyer: user selected memberlist in menu *
static java.lang.String ACTIVITY_MENUSELECT_OVERVIEW
          activity identitfyer: user selected overview in menu *
static java.lang.String ACTIVITY_MENUSELECT_SHOW_RESOURCES
          activity identitfyer: user selected show resources in menu *
static java.lang.String ACTIVITY_MENUSELECT_WIKI
           
static java.lang.String INITVIEW_TOOLCAL
           
static OLATResourceable ORES_TOOLCAL
           
static OLATResourceable ORES_TOOLFOLDER
           
static OLATResourceable ORES_TOOLFORUM
           
static OLATResourceable ORES_TOOLWIKI
           
 
Constructor Summary
BusinessGroupMainRunController(UserRequest ureq, WindowControl control, BusinessGroup currBusinessGroup, BGConfigFlags flags, java.lang.String initialViewIdentifier)
          Do not use this constructor! Use the BGControllerFactory instead!
 
Method Summary
 void activateAdministrationMode(UserRequest ureq)
          Activates the administration menu item.
 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.
 
Methods inherited from class org.olat.core.gui.control.controller.MainLayoutBasicController
dispose, getCustomCSS, setCustomCSS
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, 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, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed
 

Field Detail

ORES_TOOLFOLDER

public static final OLATResourceable ORES_TOOLFOLDER

ORES_TOOLFORUM

public static final OLATResourceable ORES_TOOLFORUM

ORES_TOOLWIKI

public static final OLATResourceable ORES_TOOLWIKI

INITVIEW_TOOLCAL

public static final java.lang.String INITVIEW_TOOLCAL
See Also:
Constant Field Values

ORES_TOOLCAL

public static final OLATResourceable ORES_TOOLCAL

ACTIVITY_MENUSELECT_OVERVIEW

public static final java.lang.String ACTIVITY_MENUSELECT_OVERVIEW
activity identitfyer: user selected overview in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_INFORMATION

public static final java.lang.String ACTIVITY_MENUSELECT_INFORMATION
activity identitfyer: user selected information in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_MEMBERSLIST

public static final java.lang.String ACTIVITY_MENUSELECT_MEMBERSLIST
activity identitfyer: user selected memberlist in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_CONTACTFORM

public static final java.lang.String ACTIVITY_MENUSELECT_CONTACTFORM
activity identitfyer: user selected contactform in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_FORUM

public static final java.lang.String ACTIVITY_MENUSELECT_FORUM
activity identitfyer: user selected forum in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_FOLDER

public static final java.lang.String ACTIVITY_MENUSELECT_FOLDER
activity identitfyer: user selected folder in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_CHAT

public static final java.lang.String ACTIVITY_MENUSELECT_CHAT
activity identitfyer: user selected chat in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_CALENDAR

public static final java.lang.String ACTIVITY_MENUSELECT_CALENDAR
activity identitfyer: user selected calendar in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_ADMINISTRATION

public static final java.lang.String ACTIVITY_MENUSELECT_ADMINISTRATION
activity identitfyer: user selected administration in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_SHOW_RESOURCES

public static final java.lang.String ACTIVITY_MENUSELECT_SHOW_RESOURCES
activity identitfyer: user selected show resources in menu *

See Also:
Constant Field Values

ACTIVITY_MENUSELECT_WIKI

public static final java.lang.String ACTIVITY_MENUSELECT_WIKI
See Also:
Constant Field Values
Constructor Detail

BusinessGroupMainRunController

public BusinessGroupMainRunController(UserRequest ureq,
                                      WindowControl control,
                                      BusinessGroup currBusinessGroup,
                                      BGConfigFlags flags,
                                      java.lang.String initialViewIdentifier)
Do not use this constructor! Use the BGControllerFactory instead!

Parameters:
ureq -
control -
currBusinessGroup -
flags -
initialViewIdentifier - supported are null, "toolforum", "toolfolder"
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)

event

public void event(Event event)
Specified by:
event in interface GenericEventListener
See Also:
GenericEventListener.event(org.olat.core.gui.control.Event)

activateAdministrationMode

public void activateAdministrationMode(UserRequest ureq)
Activates the administration menu item. Make sure you have the rights to do this, otherwhise this will throw a nullpointer exception

Parameters:
ureq -