Package org.jboss.seam.wiki.core.search

Examples of org.jboss.seam.wiki.core.search.WikiSearch


        // Fall back, take the area name as a search query
        if (currentDirectory == null) {
            boolean foundMatches = false;
            if (areaName != null && areaName.length() > 0) {
                log.debug("searching for unknown area name: " + areaName);
                WikiSearch wikiSearch = (WikiSearch) Component.getInstance(WikiSearch.class);
                wikiSearch.setSimpleQuery(areaName);
                wikiSearch.search();
                foundMatches = wikiSearch.getTotalCount() > 0;
            }
            if (foundMatches) {
                log.debug("found search results");
                return "search";
            } else {
View Full Code Here

TOP

Related Classes of org.jboss.seam.wiki.core.search.WikiSearch

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.