Modifier and Type | Method and Description |
---|---|
static Attachment.Type |
Attachment.Type.getForMimeType(String mimeType,
String fileExtension) |
static Attachment.Type |
Attachment.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Attachment.Type[] |
Attachment.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Set<Attachment.Type> |
Attachment.Type.getTypes(Set<String> typeStrs) |
Modifier and Type | Method and Description |
---|---|
Map<Category,List<SearchResult>> |
ContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate grouping,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
int startIndex,
Integer pageSize,
Map<String,Object> params,
String... spaceKeys)
Search returning results in the specified space and
ResultTemplate
include pagination and search parent name support. |
default Map<Category,List<SearchResult>> |
ContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate resultTemplate,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys)
Search returning results in the specified space and
ResultTemplate |
List<SearchResult> |
ContentNameSearcher.searchNoCategorisation(List<QueryToken> queryTokens,
ResultTemplate results,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
int startIndex,
Integer pageSize,
Map<String,Object> params,
String... spaceKeys)
Search returning results in the specified space and
ResultTemplate
include pagination and search parent name support. |
Constructor and Description |
---|
AttachmentTypeFilter(Set<Attachment.Type> attachmentTypes) |
AttachmentTypeFilter(Set<Attachment.Type> attachmentTypes,
boolean negate)
Filter attachment according to given types.
|
Modifier and Type | Method and Description |
---|---|
Set<Attachment.Type> |
SearchQueryParameters.getAttachmentTypes() |
Modifier and Type | Method and Description |
---|---|
void |
SearchQueryParameters.setAttachmentTypes(Set<Attachment.Type> attachmentTypes) |
Constructor and Description |
---|
AttachmentTypeQuery(Attachment.Type fileType)
Search for attachments of a given type.
|
Constructor and Description |
---|
AttachmentTypeQuery(Set<Attachment.Type> fileTypes)
Search for attachments within any of a collection of types.
|
Modifier and Type | Method and Description |
---|---|
Set<Attachment.Type> |
AttachmentTypeSearchFilter.getAttachmentTypes() |
Constructor and Description |
---|
AttachmentTypeSearchFilter(Set<Attachment.Type> attachmentTypes,
boolean negate) |
Copyright © 2003–2020 Atlassian. All rights reserved.