|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.search.service.SearchQueryParameters
public class SearchQueryParameters
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(String query)
Construct a query for the specified String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchQueryParameters()
public SearchQueryParameters(String query)
query
- the String to search for.Method Detail |
---|
public void setQuery(String query)
public void setCategory(SpaceCategoryEnum category)
public void setSpaceKey(String spaceKey)
public void setSpaceKeys(Set<String> spaceKeys)
public void setAttachmentTypes(Set<Attachment.Type> attachmentTypes)
public void setContentType(ContentTypeEnum contentType)
public void setContentTypes(Set<ContentTypeEnum> contentTypes)
public void setLastModified(DateRangeQuery.DateRange lastModified)
public void setContributor(String creator)
public String getQuery()
public SpaceCategoryEnum getCategory()
public Set<String> getSpaceKeys()
public Set<Attachment.Type> getAttachmentTypes()
public Set<ContentTypeEnum> getContentTypes()
public DateRangeQuery.DateRange getLastModified()
public String getContributor()
public Set<String> getLabels()
public void setLabels(Set<String> labels)
public SearchSort getSort()
public void setSort(SearchSort sort)
public void setPluginContentTypes(Set<ContentTypeSearchDescriptor> pluginContentTypes)
public Set<ContentTypeSearchDescriptor> getPluginContentTypes()
public boolean isIncludeArchivedSpaces()
public void setIncludeArchivedSpaces(boolean includeArchivedSpaces)
public void setOnlyArchivedSpaces(boolean onlyArchivedSpaces)
public boolean isOnlyArchivedSpaces()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |