org.olat.group.ui.edit
Class BusinessGroupEditController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.group.ui.edit.BusinessGroupEditController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable, GenericEventListener

public class BusinessGroupEditController
extends BasicController
implements ControllerEventListener, GenericEventListener

Description:
This controller displays a tabbed pane that lets the user configure and modify a business group. The functionality must be configured using the BGConfigFlags.

Fires BusinessGroupModifiedEvent via the OLATResourceableEventCenter

Initial Date: Aug 17, 2004

Author:
patrick

Constructor Summary
BusinessGroupEditController(UserRequest ureq, WindowControl wControl, BusinessGroup currBusinessGroup, BGConfigFlags configurationFlags)
          Never call this constructor directly, use the BGControllerFactory instead!!
 
Method Summary
 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.
 boolean isLockAcquired()
           
 
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.ControllerEventListener
dispatchEvent
 

Constructor Detail

BusinessGroupEditController

public BusinessGroupEditController(UserRequest ureq,
                                   WindowControl wControl,
                                   BusinessGroup currBusinessGroup,
                                   BGConfigFlags configurationFlags)
Never call this constructor directly, use the BGControllerFactory instead!!

Parameters:
ureq -
wControl -
currBusinessGroup -
configurationFlags - Flags to configure the controllers features. The controller does no type specific stuff implicit just by looking at the group type. Type specifig features must be flagged.
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)

isLockAcquired

public boolean isLockAcquired()
Returns:
true if lock on group has been acquired, flase otherwhise