org.olat.core.commons.modules.bc.version
Class VersionCommentController

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

public class VersionCommentController
extends FormBasicController

Description:
A controller which collect a comment for a new revision of a versioned file or free the lock for the file .

Initial Date: 15 sept. 2009

Author:
srosse

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
VersionCommentController(UserRequest ureq, WindowControl wControl, boolean lock, boolean comment)
           
 
Method Summary
 java.lang.String getComment()
           
 boolean keepLocked()
           
 
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

VersionCommentController

public VersionCommentController(UserRequest ureq,
                                WindowControl wControl,
                                boolean lock,
                                boolean comment)
Method Detail

getComment

public java.lang.String getComment()

keepLocked

public boolean keepLocked()