org.olat.admin.user
Class UserAdminController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.admin.user.UserAdminController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable, Activateable

public class UserAdminController
extends BasicController
implements Activateable

Initial Date: Jul 29, 2003

Author:
Sabina Jeger
  Complete rebuild on 17. jan 2006 by Florian Gnaegi
  
  Functionality to change or view all kind of things for this user 
  based on the configuration for the user manager. 
  This controller should only be used by the UserAdminMainController.
  
 

Constructor Summary
UserAdminController(UserRequest ureq, WindowControl wControl, Identity identity)
          Constructor that creates a back - link as default
 
Method Summary
 void activate(UserRequest ureq, java.lang.String viewIdentifier)
          Possible activation parameters are: edit.uprofile edit.uprefs edit.upwd edit.uauth edit.uprop edit.upolicies edit.uroles edit.uquota
 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.
 void setBackButtonEnabled(boolean backButtonEnabled)
           
 
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

UserAdminController

public UserAdminController(UserRequest ureq,
                           WindowControl wControl,
                           Identity identity)
Constructor that creates a back - link as default

Parameters:
ureq -
wControl -
identity -
Method Detail

activate

public void activate(UserRequest ureq,
                     java.lang.String viewIdentifier)
Possible activation parameters are: edit.uprofile edit.uprefs edit.upwd edit.uauth edit.uprop edit.upolicies edit.uroles edit.uquota

Specified by:
activate in interface Activateable
Parameters:
ureq -
viewIdentifier -

setBackButtonEnabled

public void setBackButtonEnabled(boolean backButtonEnabled)
Parameters:
backButtonEnabled -

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)