org.olat.course.editor
Class NoAccessExplanationFormController

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.components.form.flexible.impl.FormBasicController
              extended by org.olat.course.editor.NoAccessExplanationFormController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class NoAccessExplanationFormController
extends FormBasicController

Provides a controller using FlexiForms which allows entering a text which gets displayed as an explanation when the user has no permission to access a ressource.

Author:
twuersch

Field Summary
 
Fields inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
LAYOUT_CUSTOM, LAYOUT_DEFAULT, LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
 
Constructor Summary
NoAccessExplanationFormController(UserRequest ureq, WindowControl wControl, java.lang.String noAccessString)
          Initializes this controller.
 
Method Summary
 java.lang.String getNoAccessExplanation()
          Gets the message string for the no access explanation.
 void setNoAccessExplanation(java.lang.String message)
          Gets the message string for the no access explanation.
 
Methods inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
dispose, event
 
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
 

Constructor Detail

NoAccessExplanationFormController

public NoAccessExplanationFormController(UserRequest ureq,
                                         WindowControl wControl,
                                         java.lang.String noAccessString)
Initializes this controller.

Parameters:
ureq - The user request.
wControl - The window control.
noAccessString -
Method Detail

getNoAccessExplanation

public java.lang.String getNoAccessExplanation()
Gets the message string for the no access explanation.

Returns:
String The noAccessExplenation

setNoAccessExplanation

public void setNoAccessExplanation(java.lang.String message)
Gets the message string for the no access explanation.

Parameters:
message - The message