Class AttachmentTypeQuery

    • Constructor Detail

      • AttachmentTypeQuery

        public AttachmentTypeQuery​(Attachment.Type fileType)
        Search for attachments of a given type.
        fileType - the type to search for
      • AttachmentTypeQuery

        public AttachmentTypeQuery​(Set<Attachment.Type> fileTypes)
        Search for attachments within any of a collection of types.
        fileTypes - a set of types to search for
    • Method Detail

      • getKey

        public String getKey()
        the plugin key
      • expand

        public SearchQuery expand()
        Description copied from interface: SearchQuery
        Expands this query into a composite query (that composes other queries). By overriding this method, one can specify a new query that is composition of the behaviour of the composed queries.
        a query