com.atlassian.confluence.search.v2.query
Class AttachmentTypeQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.AbstractParameterListQuery<Attachment.Type>
com.atlassian.confluence.search.v2.query.AttachmentTypeQuery
- All Implemented Interfaces:
- SearchQuery
public class AttachmentTypeQuery
- extends AbstractParameterListQuery<Attachment.Type>
Search for attachments of a particular type or types.
AttachmentTypeQuery
public AttachmentTypeQuery(Attachment.Type fileType)
- Search for attachments of a given type.
- Parameters:
fileType
- the type to search for
AttachmentTypeQuery
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
getKey
public String getKey()
- Returns:
- the plugin key
Copyright © 2003-2013 Atlassian. All Rights Reserved.