public class ItemsController extends BasicController
构造器和说明 |
---|
ItemsController(UserRequest ureq,
WindowControl wControl,
Feed feed,
FeedViewHelper helper,
FeedUIFactory uiFactory,
FeedSecurityCallback callback,
VelocityContainer vcRightColumn,
FeedItemDisplayConfig displayConfig,
SubscriptionContext subscriptionContext)
load items with a given displayconfig
|
限定符和类型 | 方法和说明 |
---|---|
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(UserRequest ureq,
boolean editable,
Feed feed)
Sets the edit mode to editable
|
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
public ItemsController(UserRequest ureq, WindowControl wControl, Feed feed, FeedViewHelper helper, FeedUIFactory uiFactory, FeedSecurityCallback callback, VelocityContainer vcRightColumn, FeedItemDisplayConfig displayConfig, SubscriptionContext subscriptionContext)
ureq
- wControl
- feed
- helper
- uiFactory
- callback
- vcRightColumn
- displayConfig
- public void makeInternalAndExternalButtons()
public void resetItems(UserRequest ureq, Feed feed)
ureq
- feed
- the current feedpublic void setEditMode(UserRequest ureq, boolean editable, Feed feed)
editable
- feed
- the current feedpublic void activate(UserRequest ureq, Item item)
item
-