org.olat.core.commons.modules.bc
Class FolderRunController

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.commons.modules.bc.FolderRunController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable, Activateable

public class FolderRunController
extends BasicController
implements Activateable

Description:
is the controller for

Author:
Felix Jost

Field Summary
static java.lang.String ACTION_PRE
           
static java.lang.String FORM_ACTION
           
 
Constructor Summary
FolderRunController(VFSContainer rootContainer, boolean displayWebDAVLink, boolean displaySearch, UserRequest ureq, WindowControl wControl)
          Constructor for a folder controller without filter.
FolderRunController(VFSContainer rootContainer, boolean displayWebDAVLink, boolean displaySearch, UserRequest ureq, WindowControl wControl, VFSItemFilter filter)
          Constructor for a folder controller with a file fliter.
FolderRunController(VFSContainer rootContainer, boolean displayWebDAVLink, UserRequest ureq, WindowControl wControl)
          Constructor for a folder controller without filter.
 
Method Summary
 void activate(UserRequest ureq, java.lang.String path)
          FIXME:pb:discussion FJ should we return boolean if activation was successful?
 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
 
Methods inherited from interface org.olat.core.gui.control.Controller
addControllerListener, dispatchEvent, dispose, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed
 

Field Detail

ACTION_PRE

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

FORM_ACTION

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

FolderRunController

public FolderRunController(VFSContainer rootContainer,
                           boolean displayWebDAVLink,
                           UserRequest ureq,
                           WindowControl wControl)
Constructor for a folder controller without filter.

Parameters:
rootContainer -
displayWebDAVLink -
ureq -
wControl -

FolderRunController

public FolderRunController(VFSContainer rootContainer,
                           boolean displayWebDAVLink,
                           boolean displaySearch,
                           UserRequest ureq,
                           WindowControl wControl)
Constructor for a folder controller without filter.

Parameters:
rootContainer -
displayWebDAVLink -
ureq -
wControl -

FolderRunController

public FolderRunController(VFSContainer rootContainer,
                           boolean displayWebDAVLink,
                           boolean displaySearch,
                           UserRequest ureq,
                           WindowControl wControl,
                           VFSItemFilter filter)
Constructor for a folder controller with a file fliter. Use this one if you don't wan't to display all files in the file browser.

Parameters:
rootContainer -
displayWebDAVLink -
ureq -
wControl -
filter -
Method Detail

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(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)

activate

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

Specified by:
activate in interface Activateable
See Also:
Activateable.activate(org.olat.core.gui.UserRequest, java.lang.String)