com.atlassian.confluence.search.service
Class SearchQueryParameters

java.lang.Object
  extended by com.atlassian.confluence.search.service.SearchQueryParameters

public class SearchQueryParameters
extends java.lang.Object

A bean encapsulating the query being issued to the search service.

All properties on this bean are optional. If not set then a property has no affect on the search.


Constructor Summary
SearchQueryParameters()
          Construct a query with no search term or filtering.
SearchQueryParameters(java.lang.String query)
          Construct a query for the specified String.
 
Method Summary
 java.util.Set<Attachment.Type> getAttachmentTypes()
           
 SpaceCategoryEnum getCategory()
           
 java.util.Set<ContentTypeEnum> getContentTypes()
           
 java.lang.String getContributor()
           
 DateRangeQuery.DateRange getLastModified()
           
 java.lang.String getQuery()
           
 java.util.Set<java.lang.String> getSpaceKeys()
           
 void setAttachmentTypes(java.util.Set<Attachment.Type> attachmentTypes)
           
 void setCategory(SpaceCategoryEnum category)
           
 void setContentType(ContentTypeEnum contentType)
           
 void setContentTypes(java.util.Set<ContentTypeEnum> contentTypes)
           
 void setContributor(java.lang.String creator)
           
 void setLastModified(DateRangeQuery.DateRange lastModified)
           
 void setQuery(java.lang.String query)
           
 void setSpaceKey(java.lang.String spaceKey)
           
 void setSpaceKeys(java.util.Set<java.lang.String> spaceKeys)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchQueryParameters

public SearchQueryParameters()
Construct a query with no search term or filtering.


SearchQueryParameters

public SearchQueryParameters(java.lang.String query)
Construct a query for the specified String.

Parameters:
query - the String to search for.
Method Detail

setQuery

public void setQuery(java.lang.String query)

setCategory

public void setCategory(SpaceCategoryEnum category)

setSpaceKey

public void setSpaceKey(java.lang.String spaceKey)

setSpaceKeys

public void setSpaceKeys(java.util.Set<java.lang.String> spaceKeys)

setAttachmentTypes

public void setAttachmentTypes(java.util.Set<Attachment.Type> attachmentTypes)

setContentType

public void setContentType(ContentTypeEnum contentType)

setContentTypes

public void setContentTypes(java.util.Set<ContentTypeEnum> contentTypes)

setLastModified

public void setLastModified(DateRangeQuery.DateRange lastModified)

setContributor

public void setContributor(java.lang.String creator)

getQuery

public java.lang.String getQuery()

getCategory

public SpaceCategoryEnum getCategory()

getSpaceKeys

public java.util.Set<java.lang.String> getSpaceKeys()

getAttachmentTypes

public java.util.Set<Attachment.Type> getAttachmentTypes()

getContentTypes

public java.util.Set<ContentTypeEnum> getContentTypes()

getLastModified

public DateRangeQuery.DateRange getLastModified()

getContributor

public java.lang.String getContributor()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2010 Atlassian. All Rights Reserved.