public class ForumServlet extends OKMRemoteServiceServlet implements OKMForumService
WORKSPACE
Constructor and Description |
---|
ForumServlet() |
Modifier and Type | Method and Description |
---|---|
GWTForum |
createForum(GWTForum forum) |
void |
createPost(long forumId,
long topicId,
GWTForumPost post) |
GWTForumTopic |
createTopic(long id,
String nodeUuid,
GWTForumTopic topic) |
void |
deleteForum(long id) |
Boolean |
deletePost(long forumId,
long topicId,
long postId) |
GWTForumTopic |
findTopicByPK(long id) |
List<GWTForum> |
getAllForum() |
List<GWTForumTopic> |
getTopicsByForum(long id) |
List<GWTForumTopic> |
getTopicsByNode(String uuid) |
void |
increaseTopicView(long id) |
void |
updateForum(GWTForum forum) |
void |
updatePost(GWTForumPost post) |
void |
updateTopic(long id,
GWTForumPost post) |
doGetSerializationPolicy, getLanguage, getUserWorkspaceSession, init, saveUserWorkspaceSession, setLanguage, updateSessionManager
checkPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public List<GWTForumTopic> getTopicsByForum(long id) throws OKMException
getTopicsByForum
in interface OKMForumService
OKMException
public List<GWTForumTopic> getTopicsByNode(String uuid) throws OKMException
getTopicsByNode
in interface OKMForumService
OKMException
public GWTForumTopic createTopic(long id, String nodeUuid, GWTForumTopic topic) throws OKMException
createTopic
in interface OKMForumService
OKMException
public GWTForumTopic findTopicByPK(long id) throws OKMException
findTopicByPK
in interface OKMForumService
OKMException
public void createPost(long forumId, long topicId, GWTForumPost post) throws OKMException
createPost
in interface OKMForumService
OKMException
public void increaseTopicView(long id) throws OKMException
increaseTopicView
in interface OKMForumService
OKMException
public Boolean deletePost(long forumId, long topicId, long postId) throws OKMException
deletePost
in interface OKMForumService
OKMException
public void updatePost(GWTForumPost post) throws OKMException
updatePost
in interface OKMForumService
OKMException
public List<GWTForum> getAllForum() throws OKMException
getAllForum
in interface OKMForumService
OKMException
public GWTForum createForum(GWTForum forum) throws OKMException
createForum
in interface OKMForumService
OKMException
public void deleteForum(long id) throws OKMException
deleteForum
in interface OKMForumService
OKMException
public void updateForum(GWTForum forum) throws OKMException
updateForum
in interface OKMForumService
OKMException
public void updateTopic(long id, GWTForumPost post) throws OKMException
updateTopic
in interface OKMForumService
OKMException
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.