Package org.encuestame.utils.web.search

Examples of org.encuestame.utils.web.search.TweetPollSearchBean


    final TweetPoll tp = createTweetPollPublicated(true, true, dt
        .minusDays(3).toDate(), this.userAccount, question1);
    tp.setTweetPollFolder(this.folder);
    tp.setScheduleTweetPoll(Boolean.TRUE);
    getTweetPoll().saveOrUpdate(tp);
    final TweetPollSearchBean tpbean = createTweetpollSearchBean(
        Boolean.TRUE, Boolean.TRUE, Boolean.FALSE, Boolean.TRUE, " ",
        "7", 10, 0, TypeSearch.LASTDAY);
    final List<SearchBean> tpLastWeek = getTweetPollService()
        .searchTweetsPollsLastWeek(this.userAccount.getUsername(),
            this.request, tpbean);
View Full Code Here


    getTweetPoll().saveOrUpdate(tp);
    final TweetPoll tp2 = createTweetPollPublicated(true, true,
        dt.toDate(), this.userAccount, question2);
    tp2.setScheduleTweetPoll(Boolean.TRUE);
    getTweetPoll().saveOrUpdate(tp2);
    final TweetPollSearchBean tpbean = createTweetpollSearchBean(
        Boolean.TRUE, Boolean.TRUE, Boolean.FALSE, Boolean.TRUE, " ",
        "7", 10, 0, TypeSearch.LASTWEEK);
    final List<SearchBean> tpLastWeek = getTweetPollService()
        .searchTweetsPollsToday(this.userAccount.getUsername(),
            this.request, tpbean);
View Full Code Here

    public TweetPollSearchBean createTweetpollSearchBean(
            final Boolean isPublished, final Boolean isComplete,
            final Boolean isFavourite, final Boolean isScheduled,
            final String keyword, final String period, final Integer max,
            final Integer start, final  TypeSearch typeSearch) {
        final TweetPollSearchBean tpollSearchBean = new TweetPollSearchBean();
        tpollSearchBean.setIsComplete(isComplete);
        tpollSearchBean.setIsFavourite(isFavourite);
        tpollSearchBean.setIsPublished(isPublished);
        tpollSearchBean.setIsScheduled(isScheduled);
        tpollSearchBean.setKeyword(keyword);
        tpollSearchBean.setMax(max);
        tpollSearchBean.setPeriod(period);
        tpollSearchBean.setStart(start);
        tpollSearchBean.setTypeSearch(typeSearch);
        return tpollSearchBean;
    }
View Full Code Here

TOP

Related Classes of org.encuestame.utils.web.search.TweetPollSearchBean

Copyright © 2018 www.massapicom. 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.