Class SiteSearch
- java.lang.Object
-
- com.atlassian.confluence.it.global.SiteSearch
-
public class SiteSearch extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SiteSearch.BuiltInContentTypes
static class
SiteSearch.DateRestriction
static class
SiteSearch.SpecialSpaceOptions
-
Field Summary
Fields Modifier and Type Field Description static String
NO_MATCHING_USER_FOUND
static String
NO_RESULTS_MESSAGE
-
Method Summary
-
-
-
Field Detail
-
NO_RESULTS_MESSAGE
public static final String NO_RESULTS_MESSAGE
- See Also:
- Constant Field Values
-
NO_MATCHING_USER_FOUND
public static final String NO_MATCHING_USER_FOUND
- See Also:
- Constant Field Values
-
-
Method Detail
-
viewSearchForm
public static SiteSearch viewSearchForm()
-
viewSearchForm
public static SiteSearch viewSearchForm(net.sourceforge.jwebunit.junit.WebTester tester)
-
search
public static SiteSearch search(String query)
-
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)
-
search
public static SiteSearch search(TitledContent content, net.sourceforge.jwebunit.junit.WebTester tester)
-
searchInArchivedSpaces
public static SiteSearch searchInArchivedSpaces(TitledContent content)
-
searchInArchivedSpaces
public static SiteSearch searchInArchivedSpaces(TitledContent content, net.sourceforge.jwebunit.junit.WebTester tester)
-
searchInSpace
public static SiteSearch searchInSpace(TitledContent content, Space space)
-
searchInSpace
public static SiteSearch searchInSpace(TitledContent content, Space space, net.sourceforge.jwebunit.junit.WebTester tester)
-
searchContentType
public static SiteSearch searchContentType(String query, String type)
-
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()
-
setAuthor
public SiteSearch setAuthor(User user)
-
setQueryString
public SiteSearch setQueryString(String query)
-
hasResultWithTitle
public boolean hasResultWithTitle(AbstractPageEntity page)
-
hasResultWithTitle
public boolean hasResultWithTitle(String resultTitle)
-
getAuthorFieldError
public String getAuthorFieldError()
-
getAuthorValue
public String getAuthorValue()
-
getAuthorUsernameValue
public String getAuthorUsernameValue()
-
setContentType
public SiteSearch setContentType(String contentType)
-
setDateRestriction
public SiteSearch setDateRestriction(SiteSearch.DateRestriction dateRestriction)
-
setSpace
public SiteSearch setSpace(String space)
-
getNumberOfResults
public int getNumberOfResults()
-
-