public class SiteSearch extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SiteSearch.BuiltInContentTypes |
static class |
SiteSearch.DateRestriction |
static class |
SiteSearch.SpecialSpaceOptions |
Modifier and Type | Field and Description |
---|---|
static String |
NO_MATCHING_USER_FOUND |
static String |
NO_RESULTS_MESSAGE |
public static final String NO_RESULTS_MESSAGE
public static final String NO_MATCHING_USER_FOUND
public static SiteSearch viewSearchForm()
public static SiteSearch viewSearchForm(net.sourceforge.jwebunit.junit.WebTester tester)
public static SiteSearch search(String query)
public static SiteSearch attachmentSearch(String query)
public static SiteSearch search(String query, net.sourceforge.jwebunit.junit.WebTester tester)
public static SiteSearch search(TitledContent content)
public static SiteSearch search(TitledContent content, net.sourceforge.jwebunit.junit.WebTester tester)
public static SiteSearch searchInArchivedSpaces(TitledContent content)
public static SiteSearch searchInArchivedSpaces(TitledContent content, net.sourceforge.jwebunit.junit.WebTester tester)
public static SiteSearch searchInSpace(TitledContent content, Space space)
public static SiteSearch searchInSpace(TitledContent content, Space space, net.sourceforge.jwebunit.junit.WebTester tester)
public static SiteSearch searchContentType(String query, String type)
public static SiteSearch searchContentType(String query, String type, net.sourceforge.jwebunit.junit.WebTester tester)
public static String getUrl()
public boolean isResultPresent(TitledContent content)
public boolean hasNoSearchResults()
public SiteSearch setAuthor(User user)
public SiteSearch setQueryString(String query)
public boolean hasResultWithTitle(AbstractPageEntity page)
public boolean hasResultWithTitle(String resultTitle)
public String getAuthorFieldError()
public String getAuthorValue()
public String getAuthorUsernameValue()
public SiteSearch setContentType(String contentType)
public SiteSearch setDateRestriction(SiteSearch.DateRestriction dateRestriction)
public SiteSearch setSpace(String space)
public int getNumberOfResults()
Copyright © 2003–2021 Atlassian. All rights reserved.