|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
ContentTypeAware.getType()
method.
Constructor Summary | |
---|---|
ContentTypeQuery(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(Object obj)
|
Set<ContentTypeEnum> |
getContentTypes()
Get the content types being searched for, as strings. |
String |
getKey()
|
List<String> |
getParameters()
List of parameters as String s or SearchQuery s. |
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(Collection<ContentTypeEnum> contentTypes)
contentTypes
- a list of content types to search forMethod Detail |
---|
public String getKey()
getKey
in interface SearchQuery
public List<String> getParameters()
SearchQuery
String
s or SearchQuery
s.
getParameters
in interface SearchQuery
String
s or SearchQuery
s.public Set<ContentTypeEnum> getContentTypes()
getParameters()
but has a more apt name.
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |