com.atlassian.confluence.it.global
Class SiteSearch

java.lang.Object
  extended by com.atlassian.confluence.it.global.SiteSearch

public class SiteSearch
extends Object


Nested Class Summary
static class SiteSearch.BuiltInContentTypes
           
static class SiteSearch.DateRestriction
           
static class SiteSearch.SpecialSpaceOptions
           
 
Field Summary
static String NO_MATCHING_USER_FOUND
           
static String NO_RESULTS_MESSAGE
           
 
Method Summary
static String formatUserAsAuthorField(User test)
           
 String getAuthorFieldError()
           
 String getAuthorUsernameValue()
           
 String getAuthorValue()
           
static String getUrl()
           
 boolean hasNoSearchResults()
           
 boolean hasResultWithTitle(Page page)
           
 boolean hasResultWithTitle(String resultTitle)
           
 boolean isResultPresent(TitledContent content)
           
static SiteSearch search(String query)
           
static SiteSearch search(TitledContent content)
           
static SiteSearch searchInArchivedSpaces(TitledContent content)
           
static SiteSearch searchInSpace(TitledContent content, Space space)
           
 SiteSearch setAuthor(User user)
           
 SiteSearch setContentType(String contentType)
           
 SiteSearch setDateRestriction(SiteSearch.DateRestriction dateRestriction)
           
 SiteSearch setQueryString(String query)
           
 SiteSearch setSpace(String space)
           
 SiteSearch submit()
           
static SiteSearch viewSearchForm()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

search

public static SiteSearch search(String query)

search

public static SiteSearch search(TitledContent content)

searchInArchivedSpaces

public static SiteSearch searchInArchivedSpaces(TitledContent content)

searchInSpace

public static SiteSearch searchInSpace(TitledContent content,
                                       Space space)

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)

submit

public SiteSearch submit()

hasResultWithTitle

public boolean hasResultWithTitle(Page page)

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)

setContentType

public SiteSearch setContentType(String contentType)

setDateRestriction

public SiteSearch setDateRestriction(SiteSearch.DateRestriction dateRestriction)

setSpace

public SiteSearch setSpace(String space)


Copyright © 2003-2013 Atlassian. All Rights Reserved.