org.olat.modules.webFeed.ui
Class FeedMainController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.modules.webFeed.ui.FeedMainController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable, Activateable, GenericEventListener
public class FeedMainController
- extends BasicController
- implements Activateable, GenericEventListener
This is the main feed layout controller. It handles everything from adding
episodes to changing title and description.
Initial Date: Feb 5, 2009
- Author:
- gwassmann
|
Constructor Summary |
FeedMainController(OLATResourceable ores,
UserRequest ureq,
WindowControl wControl,
FeedUIFactory uiFactory,
FeedSecurityCallback callback)
Constructor for learning resource (not course nodes) |
FeedMainController(OLATResourceable ores,
UserRequest ureq,
WindowControl wControl,
java.lang.Long courseId,
java.lang.String nodeId,
FeedUIFactory uiFactory,
FeedSecurityCallback callback)
Constructor for course node |
|
Method Summary |
void |
activate(UserRequest ureq,
java.lang.String itemId)
FIXME:pb:discussion FJ should we return boolean if activation was
successful? |
void |
event(Event event)
|
| 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 |
FeedMainController
public FeedMainController(OLATResourceable ores,
UserRequest ureq,
WindowControl wControl,
FeedUIFactory uiFactory,
FeedSecurityCallback callback)
- Constructor for learning resource (not course nodes)
- Parameters:
ores - ureq - wControl - previewMode - Indicates that the content will only be displayed in
preview and no editing functionality is enabled.
FeedMainController
public FeedMainController(OLATResourceable ores,
UserRequest ureq,
WindowControl wControl,
java.lang.Long courseId,
java.lang.String nodeId,
FeedUIFactory uiFactory,
FeedSecurityCallback callback)
- Constructor for course node
- Parameters:
ores - ureq - wControl - previewMode - Indicates that the content will only be displayed in
preview and no editing functionality is enabled.
activate
public void activate(UserRequest ureq,
java.lang.String itemId)
- 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)
event
public void event(Event event)
- Specified by:
event in interface GenericEventListener
- See Also:
GenericEventListener.event(org.olat.core.gui.control.Event)