Examples of LastTopic


Examples of org.jresearch.gossip.beans.forum.LastTopic

            st.setTimestamp(1, new Timestamp(dateSince.getTime()));
            st.setInt(2, maxCount);
            rs = (ResultSet) st.executeQuery();

            while (rs.next()) {
                LastTopic topic = new LastTopic();
                topic.setForumid(rs.getInt("fid"));
                topic.setThreadid(rs.getInt("tid"));
                topic.setLocked(rs.getInt("locked"));
                topic.setSortby(rs.getInt("sortby"));
                topic.setMessagesCount(rs.getLong("tot_mes"));
                topic.setForumName(rs.getString("forumtitle"));
                setRootMessage(topic, st2);
                topics.add(topic);
            }
        } finally {
            if (rs != null) {
View Full Code Here

Examples of org.jresearch.gossip.beans.forum.LastTopic

            st.setTimestamp(2, new Timestamp(dateSince.getTime()));
            st.setInt(3, maxCount);
            rs = (ResultSet) st.executeQuery();

            while (rs.next()) {
                LastTopic topic = new LastTopic();
                topic.setForumid(rs.getInt("fid"));
                topic.setThreadid(rs.getInt("tid"));
                topic.setLocked(rs.getInt("locked"));
                topic.setMessagesCount(rs.getLong("tot_mes"));
                topic.setForumName(rs.getString("forumtitle"));
                setRootMessage(topic, st2);
                topics.add(topic);
            }
        } finally {
            if (rs != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.