Uses of Class
com.atlassian.confluence.search.contentnames.Category
-
-
Uses of Category in com.atlassian.confluence.impl.search.contentnames
Method parameters in com.atlassian.confluence.impl.search.contentnames with type arguments of type Category Modifier and Type Method Description void
DefaultContentNameSearchSectionsProvider. setContentNameSearchSectionSpecsProvider(Supplier<Map<Category,ContentNameSearchSectionSpec>> contentNameSearchSectionSpecsProvider)
-
Uses of Category in com.atlassian.confluence.internal.search.contentnames.v2
Methods in com.atlassian.confluence.internal.search.contentnames.v2 that return types with arguments of type Category Modifier and Type Method Description Map<Category,ContentNameSearchSectionSpec>
ContentNameSearchSectionSpecsProvider. get()
Map<Category,ContentNameSearchSectionSpec>
CoreContentNameSearchSectionSpecsProvider. get()
Constructor parameters in com.atlassian.confluence.internal.search.contentnames.v2 with type arguments of type Category Constructor Description ContentNameSearchSectionSpecsProvider(Supplier<Map<Category,ContentNameSearchSectionSpec>> coreSectionSpecsProvider, com.atlassian.plugin.PluginAccessor pluginAccessor)
-
Uses of Category in com.atlassian.confluence.search.contentnames
Fields in com.atlassian.confluence.search.contentnames declared as Category Modifier and Type Field Description static Category
Category. ATTACHMENTS
A category for attachment results.static Category
Category. BLOGS
A category for blog results.static Category
Category. COMMENTS
A category for comments.static Category
Category. CONTENT
A category for page and blog results combined.static Category
Category. CUSTOM
A category for custom content.static Category
Category. PAGES
A category for page results.static Category
Category. PEOPLE
A category for people results.static Category
Category. PERSONAL_SPACE
A category for personal spaces.static Category
Category. SPACES
A category for space results.Methods in com.atlassian.confluence.search.contentnames that return Category Modifier and Type Method Description static Category
Category. getCategory(String type)
Return a Category for the supplied type.Category
ContentNameSearchSectionSpec. getCategory()
Content category usually one per content type.Category
SearchResult. getCategory()
Methods in com.atlassian.confluence.search.contentnames that return types with arguments of type Category Modifier and Type Method Description static Set<Category>
Category. getCategories(String contentType)
Returns a Set of Categories the content of specific type belongs to.Set<Category>
ResultTemplate. getCategories()
Returns the names of all categories defined in this configuration.default Map<Category,List<SearchResult>>
ContentNameSearcher. search(List<QueryToken> queryTokens)
Search and expect results using the Confluence defaultResultTemplate
.default Map<Category,List<SearchResult>>
ContentNameSearcher. search(List<QueryToken> queryTokens, ResultTemplate grouping)
Search returning results meeting the specifiedResultTemplate
.default Map<Category,List<SearchResult>>
ContentNameSearcher. search(List<QueryToken> queryTokens, ResultTemplate grouping, String... spaceKeys)
Search returning results in the specified space andResultTemplate
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 andResultTemplate
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 andResultTemplate
Methods in com.atlassian.confluence.search.contentnames with parameters of type Category Modifier and Type Method Description void
ResultTemplate. addCategory(Category category, int maxResultCount)
Add a category.int
ResultTemplate. getMaxResultCount(Category category)
The maximum number of results for this category.boolean
ResultTemplate. hasCategory(Category category)
Returns true if the specified category is defined, false otherwise.void
SearchResult. setCategory(Category category)
-
Uses of Category in com.atlassian.confluence.search.v2.query
Methods in com.atlassian.confluence.search.v2.query that return types with arguments of type Category Modifier and Type Method Description List<Category>
ContentCategoryQuery. getParameters()
Constructors in com.atlassian.confluence.search.v2.query with parameters of type Category Constructor Description ContentCategoryQuery(Category contentCategory)
Construct aSearchQuery
that finds content matching a givenCategory
Constructor parameters in com.atlassian.confluence.search.v2.query with type arguments of type Category Constructor Description ContentCategoryQuery(Set<Category> contentCategories)
Construct aSearchQuery
that finds content matching at least one of the specified Set ofCategory
-