com.atlassian.confluence.it.global
Class SiteSearch
java.lang.Object
com.atlassian.confluence.it.global.SiteSearch
public class SiteSearch
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_RESULTS_MESSAGE
public static final java.lang.String NO_RESULTS_MESSAGE
- See Also:
- Constant Field Values
NO_MATCHING_USER_FOUND
public static final java.lang.String NO_MATCHING_USER_FOUND
- See Also:
- Constant Field Values
viewSearchForm
public static SiteSearch viewSearchForm()
viewSearchForm
public static SiteSearch viewSearchForm(net.sourceforge.jwebunit.junit.WebTester tester)
search
public static SiteSearch search(java.lang.String query)
attachmentSearch
public static SiteSearch attachmentSearch(java.lang.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(java.lang.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(java.lang.String query,
java.lang.String type)
searchContentType
public static SiteSearch searchContentType(java.lang.String query,
java.lang.String type,
net.sourceforge.jwebunit.junit.WebTester tester)
getUrl
public static java.lang.String getUrl()
isResultPresent
public boolean isResultPresent(TitledContent content)
hasNoSearchResults
public boolean hasNoSearchResults()
setAuthor
public SiteSearch setAuthor(User user)
setQueryString
public SiteSearch setQueryString(java.lang.String query)
hasResultWithTitle
public boolean hasResultWithTitle(AbstractPageEntity page)
hasResultWithTitle
public boolean hasResultWithTitle(java.lang.String resultTitle)
getAuthorFieldError
public java.lang.String getAuthorFieldError()
getAuthorValue
public java.lang.String getAuthorValue()
getAuthorUsernameValue
public java.lang.String getAuthorUsernameValue()
formatUserAsAuthorField
public static java.lang.String formatUserAsAuthorField(User test)
setContentType
public SiteSearch setContentType(java.lang.String contentType)
setDateRestriction
public SiteSearch setDateRestriction(SiteSearch.DateRestriction dateRestriction)
setSpace
public SiteSearch setSpace(java.lang.String space)
getNumberOfResults
public int getNumberOfResults()
Copyright © 2003-2014 Atlassian. All Rights Reserved.