Package com.apress.progwt.client.domain.dto

Examples of com.apress.progwt.client.domain.dto.SearchResult


            throws SiteException {
        try {
            log.debug("-----" + searchString + "--------" + user
                    + "-----");

            SearchResult res = new SearchResult();

            if (searchString == null || searchString.equals("")) {
                return res;
            }
View Full Code Here


    private SearchService searchService;
    private UserService userService;

    public void testSearch() throws SiteException {

        SearchResult res = null;

        String searchStr = "";

        searchStr = "alabama";
        res = searchService.search(searchStr);
        assertTrue(res.getSchools().size() > 0);
        assertTrue(res.getForumPosts().size() > 0);

    }
View Full Code Here

    }

    private void addResults(ModelMap rtn, SearchCommand command)
            throws SiteException {

        SearchResult result = searchService.search(command
                .getSearchString());

        System.out.println("got search " + result);

        rtn.addAttribute("searchResult", result);
View Full Code Here

TOP

Related Classes of com.apress.progwt.client.domain.dto.SearchResult

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.