org.olat.modules.webFeed.ui
Class ItemsController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.modules.webFeed.ui.ItemsController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class ItemsController
extends BasicController

This class is responsible for dealing with items. For internal podcasts, items can be created, edited and deleted. Initial Date: Mar 2, 2009

Author:
gwassmann

Field Summary
static Event FEED_INFO_IS_DIRTY_EVENT
           
static Event HANDLE_NEW_EXTERNAL_FEED_DIALOG_EVENT
           
 
Constructor Summary
ItemsController(UserRequest ureq, WindowControl wControl, Feed feed, FeedViewHelper helper, FeedUIFactory uiFactory, FeedSecurityCallback callback, VelocityContainer vcRightColumn)
          Constructor
 
Method Summary
 void activate(UserRequest ureq, Item item)
           
 void makeInternalAndExternalButtons()
          Instantiates the makeInternal and the makeExternal-Buttons and puts it to the items velocity container's context.
 void resetItems(UserRequest ureq, Feed feed)
          Sets the items view dirty.
 void setEditMode(boolean editable, Feed feed)
          Sets the edit mode to editable
 
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
 

Field Detail

HANDLE_NEW_EXTERNAL_FEED_DIALOG_EVENT

public static Event HANDLE_NEW_EXTERNAL_FEED_DIALOG_EVENT

FEED_INFO_IS_DIRTY_EVENT

public static Event FEED_INFO_IS_DIRTY_EVENT
Constructor Detail

ItemsController

public ItemsController(UserRequest ureq,
                       WindowControl wControl,
                       Feed feed,
                       FeedViewHelper helper,
                       FeedUIFactory uiFactory,
                       FeedSecurityCallback callback,
                       VelocityContainer vcRightColumn)
Constructor

Parameters:
ureq -
control -
Method Detail

makeInternalAndExternalButtons

public void makeInternalAndExternalButtons()
Instantiates the makeInternal and the makeExternal-Buttons and puts it to the items velocity container's context.


resetItems

public void resetItems(UserRequest ureq,
                       Feed feed)
Sets the items view dirty.

Parameters:
ureq -
feed - the current feed

setEditMode

public void setEditMode(boolean editable,
                        Feed feed)
Sets the edit mode to editable

Parameters:
editable -
feed - the current feed

activate

public void activate(UserRequest ureq,
                     Item item)
Parameters:
item -