public class

AttachmentTypeQuery

extends AbstractParameterListQuery<T>
java.lang.Object
   ↳ com.atlassian.confluence.search.v2.query.AbstractParameterListQuery<T>
     ↳ com.atlassian.confluence.search.v2.query.AttachmentTypeQuery

Class Overview

Search for attachments of a particular type or types.

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
Public Constructors
AttachmentTypeQuery(Attachment.Type fileType)
Search for attachments of a given type.
AttachmentTypeQuery(Set<Attachment.Type> fileTypes)
Search for attachments within any of a collection of types.
Public Methods
String getKey()
[Expand]
Inherited Methods
From class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
From class java.lang.Object
From interface com.atlassian.confluence.search.v2.SearchQuery

Public Constructors

public AttachmentTypeQuery (Attachment.Type fileType)

Search for attachments of a given type.

Parameters
fileType the type to search for

public AttachmentTypeQuery (Set<Attachment.Type> fileTypes)

Search for attachments within any of a collection of types.

Parameters
fileTypes a set of types to search for

Public Methods

public String getKey ()