Search in sources :

Example 21 with TopicDAO

use of net.jforum.dao.TopicDAO in project jforum2 by rafaelsteil.

the class NewMessagesSearchOperation method performSearch.

public SearchResult performSearch(SearchArgs args) {
    TopicDAO dao = DataAccessDriver.getInstance().newTopicDAO();
    SearchResult searchResult = dao.findTopicsByDateRange(args);
    this.results = searchResult.records();
    return searchResult;
}
Also used : TopicDAO(net.jforum.dao.TopicDAO)

Aggregations

TopicDAO (net.jforum.dao.TopicDAO)21 Topic (net.jforum.entities.Topic)14 List (java.util.List)10 PostDAO (net.jforum.dao.PostDAO)10 Post (net.jforum.entities.Post)7 AttachmentCommon (net.jforum.view.forum.common.AttachmentCommon)6 ArrayList (java.util.ArrayList)5 ForumDAO (net.jforum.dao.ForumDAO)5 Forum (net.jforum.entities.Forum)5 Iterator (java.util.Iterator)4 ModerationLog (net.jforum.entities.ModerationLog)4 User (net.jforum.entities.User)4 HashMap (java.util.HashMap)3 Map (java.util.Map)3 PollDAO (net.jforum.dao.PollDAO)3 Poll (net.jforum.entities.Poll)3 PreparedStatement (java.sql.PreparedStatement)2 SQLException (java.sql.SQLException)2 SimpleDateFormat (java.text.SimpleDateFormat)2 Date (java.util.Date)2