|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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(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 |
---|
public SearchQueryParameters()
public SearchQueryParameters(java.lang.String query)
query
- the String to search for.Method Detail |
---|
public void setQuery(java.lang.String query)
public void setCategory(SpaceCategoryEnum category)
public void setSpaceKey(java.lang.String spaceKey)
public void setSpaceKeys(java.util.Set<java.lang.String> spaceKeys)
public void setAttachmentTypes(java.util.Set<Attachment.Type> attachmentTypes)
public void setContentType(ContentTypeEnum contentType)
public void setContentTypes(java.util.Set<ContentTypeEnum> contentTypes)
public void setLastModified(DateRangeQuery.DateRange lastModified)
public void setContributor(java.lang.String creator)
public java.lang.String getQuery()
public SpaceCategoryEnum getCategory()
public java.util.Set<java.lang.String> getSpaceKeys()
public java.util.Set<Attachment.Type> getAttachmentTypes()
public java.util.Set<ContentTypeEnum> getContentTypes()
public DateRangeQuery.DateRange getLastModified()
public java.lang.String getContributor()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |