Method Summary |
|
public int | addNew(Topic topic) |
public int | countUserTopics(int userId) |
public void | decrementTotalReplies(int topicId) |
public void | delete(Topic topic, boolean fromModeration) |
public void | deleteByForum(int forumId) |
public void | deleteTopics(List topics, boolean fromModeration) |
public List | fillTopicsData(PreparedStatement p) Fills all topic data. |
public SearchResult | findTopicsByDateRange(SearchArgs args) |
public void | fixFirstLastPostId(int topicId) |
protected Topic | getBaseTopicData(ResultSet rs) |
public int | getMaxPostId(int topicId) |
public int | getMinPostId(int topicId) |
public int | getTotalPosts(int topicId) |
public void | incrementTotalReplies(int topicId) |
public void | incrementTotalViews(int topicId) |
public boolean | isUserSubscribed(int topicId, int userId) |
public void | lockUnlock(int[] topicId, int status) |
public List | notifyUsers(Topic topic) |
public void | removeSubscription(int topicId, int userId) |
public void | removeSubscriptionByTopic(int topicId) |
public List | selectAllByForum(int forumId) |
public List | selectAllByForumByLimit(int forumId, int startFrom, int count) |
public Topic | selectById(int topicId) |
public List | selectByUserByLimit(int userId, int startFrom, int count) |
public List | selectHottestTopics(int limit) |
public Topic | selectRaw(int topicId) |
public List | selectRecentTopics(int limit) |
public List | selectTopicTitlesByIds(Collection idList) |
public void | setFirstPostId(int topicId, int postId) |
public void | setLastPostId(int topicId, int postId) |
public void | setModerationStatus(int forumId, boolean status) |
public void | setModerationStatusByTopic(int topicId, boolean status) |
public void | subscribeUser(int topicId, int userId) |
public void | subscribeUsers(int topicId, List users) |
public Map | topicPosters(int topicId) |
public void | update(Topic topic) |
public void | updateReadStatus(int topicId, int userId, boolean read) |