public class TopicManager extends com.google.gwt.user.client.ui.Composite implements ForumController
Modifier and Type | Field and Description |
---|---|
static int |
TOOLBAR_HEADER |
Constructor and Description |
---|
TopicManager()
Topic
|
Modifier and Type | Method and Description |
---|---|
void |
createForum() |
void |
createNewPost() |
void |
createNewTopic(long forumId,
String forumName) |
void |
deleteForum(long forumId) |
void |
deletePost(long id) |
void |
editForum(GWTForum forum) |
void |
editPost(GWTForumPost fp) |
void |
editTopic(GWTForumPost fp) |
ForumController |
getController() |
void |
goHome() |
void |
langRefresh()
langRefresh
|
void |
newTopicCreated(long forumId,
GWTForumTopic topic) |
void |
quotePost(GWTForumPost fp) |
void |
refreshForums() |
void |
refreshPosts(long topicId,
String topicName) |
void |
refreshTopics(long id,
String forumName) |
void |
refreshTopics(String uuid) |
void |
setForumId(int forumId)
setForumId
|
void |
setPixelSize(int width,
int height) |
void |
updatePost(GWTForumPost fp) |
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
public static final int TOOLBAR_HEADER
public void setPixelSize(int width, int height)
setPixelSize
in class com.google.gwt.user.client.ui.UIObject
public void langRefresh()
public void setForumId(int forumId)
forumId
- public void createNewPost()
createNewPost
in interface ForumController
public void createNewTopic(long forumId, String forumName)
createNewTopic
in interface ForumController
public void newTopicCreated(long forumId, GWTForumTopic topic)
newTopicCreated
in interface ForumController
public void refreshTopics(long id, String forumName)
refreshTopics
in interface ForumController
public void refreshTopics(String uuid)
refreshTopics
in interface ForumController
public void refreshPosts(long topicId, String topicName)
refreshPosts
in interface ForumController
public void goHome()
goHome
in interface ForumController
public void deletePost(long id)
deletePost
in interface ForumController
public void updatePost(GWTForumPost fp)
updatePost
in interface ForumController
public void editPost(GWTForumPost fp)
editPost
in interface ForumController
public ForumController getController()
getController
in interface ForumController
public void refreshForums()
refreshForums
in interface ForumController
public void createForum()
createForum
in interface ForumController
public void deleteForum(long forumId)
deleteForum
in interface ForumController
public void editForum(GWTForum forum)
editForum
in interface ForumController
public void editTopic(GWTForumPost fp)
editTopic
in interface ForumController
public void quotePost(GWTForumPost fp)
quotePost
in interface ForumController
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.