|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.search.v2.query.ContentTypeQuery
public class ContentTypeQuery
Search for content of a particular type. The string representation of a content's type is that returned by the
Addressable.getType() method.
| Constructor Summary | |
|---|---|
ContentTypeQuery(java.util.Collection<ContentTypeEnum> contentTypes)
Search for content that is one of the provided types |
|
ContentTypeQuery(ContentTypeEnum contentType)
Search for a particular type of content |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Set<ContentTypeEnum> |
getContentTypes()
Get the content types being searched for, as strings. |
java.lang.String |
getKey()
|
java.util.List<java.lang.String> |
getParameters()
List of parameters as Strings or SearchQuerys. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentTypeQuery(ContentTypeEnum contentType)
contentType - the type string for the content to be searched forpublic ContentTypeQuery(java.util.Collection<ContentTypeEnum> contentTypes)
contentTypes - a list of content types to search for| Method Detail |
|---|
public java.lang.String getKey()
getKey in interface SearchQuerypublic java.util.List<java.lang.String> getParameters()
SearchQueryStrings or SearchQuerys.
getParameters in interface SearchQueryStrings or SearchQuerys.public java.util.Set<ContentTypeEnum> getContentTypes()
getParameters() but has a more apt name.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||