Search in sources :

Example 1 with FeedChangedEvent

use of org.olat.modules.webFeed.FeedChangedEvent in project OpenOLAT by OpenOLAT.

the class BlogHandler method onDescriptionChanged.

@Override
public void onDescriptionChanged(RepositoryEntry entry) {
    Feed feed = FeedManager.getInstance().updateFeedWithRepositoryEntry(entry);
    DBFactory.getInstance().commitAndCloseSession();
    CoordinatorManager.getInstance().getCoordinator().getEventBus().fireEventToListenersOf(new FeedChangedEvent(feed.getKey()), feed);
}
Also used : Feed(org.olat.modules.webFeed.Feed) FeedChangedEvent(org.olat.modules.webFeed.FeedChangedEvent)

Example 2 with FeedChangedEvent

use of org.olat.modules.webFeed.FeedChangedEvent in project OpenOLAT by OpenOLAT.

the class PodcastHandler method onDescriptionChanged.

@Override
public void onDescriptionChanged(RepositoryEntry entry) {
    Feed feed = FeedManager.getInstance().updateFeedWithRepositoryEntry(entry);
    DBFactory.getInstance().commitAndCloseSession();
    CoordinatorManager.getInstance().getCoordinator().getEventBus().fireEventToListenersOf(new FeedChangedEvent(feed.getKey()), feed);
}
Also used : Feed(org.olat.modules.webFeed.Feed) FeedChangedEvent(org.olat.modules.webFeed.FeedChangedEvent)

Example 3 with FeedChangedEvent

use of org.olat.modules.webFeed.FeedChangedEvent in project openolat by klemens.

the class BlogHandler method onDescriptionChanged.

@Override
public void onDescriptionChanged(RepositoryEntry entry) {
    Feed feed = FeedManager.getInstance().updateFeedWithRepositoryEntry(entry);
    DBFactory.getInstance().commitAndCloseSession();
    CoordinatorManager.getInstance().getCoordinator().getEventBus().fireEventToListenersOf(new FeedChangedEvent(feed.getKey()), feed);
}
Also used : Feed(org.olat.modules.webFeed.Feed) FeedChangedEvent(org.olat.modules.webFeed.FeedChangedEvent)

Example 4 with FeedChangedEvent

use of org.olat.modules.webFeed.FeedChangedEvent in project openolat by klemens.

the class PodcastHandler method onDescriptionChanged.

@Override
public void onDescriptionChanged(RepositoryEntry entry) {
    Feed feed = FeedManager.getInstance().updateFeedWithRepositoryEntry(entry);
    DBFactory.getInstance().commitAndCloseSession();
    CoordinatorManager.getInstance().getCoordinator().getEventBus().fireEventToListenersOf(new FeedChangedEvent(feed.getKey()), feed);
}
Also used : Feed(org.olat.modules.webFeed.Feed) FeedChangedEvent(org.olat.modules.webFeed.FeedChangedEvent)

Aggregations

Feed (org.olat.modules.webFeed.Feed)4 FeedChangedEvent (org.olat.modules.webFeed.FeedChangedEvent)4