Class SiteSearch


  • public class SiteSearch
    extends Object
    • Method Detail

      • viewSearchForm

        public static SiteSearch viewSearchForm()
      • viewSearchForm

        public static SiteSearch viewSearchForm​(net.sourceforge.jwebunit.junit.WebTester tester)
      • attachmentSearch

        public static SiteSearch attachmentSearch​(String query)
        This can be removed once we fix CONFDEV-16505. We should direct all usages of this method back to SiteSearch.search().
      • search

        public static SiteSearch search​(String query,
                                        net.sourceforge.jwebunit.junit.WebTester tester)
      • search

        public static SiteSearch search​(TitledContent content,
                                        net.sourceforge.jwebunit.junit.WebTester tester)
      • searchInArchivedSpaces

        public static SiteSearch searchInArchivedSpaces​(TitledContent content,
                                                        net.sourceforge.jwebunit.junit.WebTester tester)
      • searchInSpace

        public static SiteSearch searchInSpace​(TitledContent content,
                                               Space space,
                                               net.sourceforge.jwebunit.junit.WebTester tester)
      • searchContentType

        public static SiteSearch searchContentType​(String query,
                                                   String type,
                                                   net.sourceforge.jwebunit.junit.WebTester tester)
      • getUrl

        public static String getUrl()
      • isResultPresent

        public boolean isResultPresent​(TitledContent content)
      • hasNoSearchResults

        public boolean hasNoSearchResults()
      • hasResultWithTitle

        public boolean hasResultWithTitle​(String resultTitle)
      • getAuthorFieldError

        public String getAuthorFieldError()
      • getAuthorValue

        public String getAuthorValue()
      • getAuthorUsernameValue

        public String getAuthorUsernameValue()
      • formatUserAsAuthorField

        public static String formatUserAsAuthorField​(User test)
      • getNumberOfResults

        public int getNumberOfResults()