com.atlassian.confluence.search.v2.query
Class AttachmentTypeQuery

java.lang.Object
  extended by com.atlassian.confluence.search.v2.query.AbstractParameterListQuery<Attachment.Type>
      extended by 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.


Field Summary
 
Fields inherited from class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
parameters
 
Constructor Summary
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.
 
Method Summary
 String getKey()
           
 
Methods inherited from class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
equals, getParameters, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

getKey

public String getKey()
Returns:
the plugin key


Copyright © 2003-2011 Atlassian. All Rights Reserved.