public interface ContentNameSearcher
Modifier and Type | Method and Description |
---|---|
java.util.Map<Category,java.util.List<SearchResult>> |
search(java.util.List<QueryToken> queryTokens)
Search and expect results using the Confluence default
ResultTemplate . |
java.util.Map<Category,java.util.List<SearchResult>> |
search(java.util.List<QueryToken> queryTokens,
ResultTemplate grouping)
Search returning results meeting the specified
ResultTemplate . |
java.util.Map<Category,java.util.List<SearchResult>> |
search(java.util.List<QueryToken> queryTokens,
ResultTemplate grouping,
java.util.Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
int startIndex,
java.lang.Integer pageSize,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String... spaceKeys)
Search returning results in the specified space and
ResultTemplate
include pagination and search parent name support. |
java.util.Map<Category,java.util.List<SearchResult>> |
search(java.util.List<QueryToken> queryTokens,
ResultTemplate grouping,
java.util.Set<Attachment.Type> attachmentTypes,
java.lang.String... spaceKeys)
Search returning results in the specified space and
ResultTemplate |
java.util.Map<Category,java.util.List<SearchResult>> |
search(java.util.List<QueryToken> queryTokens,
ResultTemplate grouping,
java.lang.String... spaceKeys)
Search returning results in the specified space and
ResultTemplate |
java.util.List<SearchResult> |
searchNoCategorisation(java.util.List<QueryToken> queryTokens,
ResultTemplate results,
java.util.Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
int startIndex,
java.lang.Integer pageSize,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String... spaceKeys)
Search returning results in the specified space and
ResultTemplate
include pagination and search parent name support. |
java.util.Map<Category,java.util.List<SearchResult>> search(java.util.List<QueryToken> queryTokens)
ResultTemplate
.queryTokens
- the parsed tokens to search with.java.lang.IllegalArgumentException
- if the supplied queryTokens are emptyResultTemplate.DEFAULT
,
QueryTokenizer
java.util.Map<Category,java.util.List<SearchResult>> search(java.util.List<QueryToken> queryTokens, ResultTemplate grouping)
ResultTemplate
.queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.java.lang.IllegalArgumentException
- if the supplied queryTokens are empty or the supplied grouping is null.QueryTokenizer
java.util.Map<Category,java.util.List<SearchResult>> search(java.util.List<QueryToken> queryTokens, ResultTemplate grouping, java.lang.String... spaceKeys)
ResultTemplate
queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.java.lang.IllegalArgumentException
- if the supplied queryTokens are empty or the supplied grouping is null.QueryTokenizer
java.util.Map<Category,java.util.List<SearchResult>> search(java.util.List<QueryToken> queryTokens, ResultTemplate grouping, java.util.Set<Attachment.Type> attachmentTypes, java.lang.String... spaceKeys)
ResultTemplate
queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.attachmentTypes
- attachment types to filter attachments onjava.lang.IllegalArgumentException
- if the supplied queryTokens are empty or the supplied grouping is null.QueryTokenizer
java.util.Map<Category,java.util.List<SearchResult>> search(java.util.List<QueryToken> queryTokens, ResultTemplate grouping, java.util.Set<Attachment.Type> attachmentTypes, boolean searchParentName, int startIndex, java.lang.Integer pageSize, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String... spaceKeys)
ResultTemplate
include pagination and search parent name support.queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.attachmentTypes
- attachment types to filter attachments onsearchParentName
- also applies the search to the parent name of the object (e.g. page name)startIndex
- the start index to search frompageSize
- the number of results to return from the startIndexparams
- additional parameters to apply to the searchspaceKeys
- the spaces to include in the searchjava.util.List<SearchResult> searchNoCategorisation(java.util.List<QueryToken> queryTokens, ResultTemplate results, java.util.Set<Attachment.Type> attachmentTypes, boolean searchParentName, int startIndex, java.lang.Integer pageSize, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String... spaceKeys)
ResultTemplate
include pagination and search parent name support. Results are not grouped.queryTokens
- the parsed tokens to search with.attachmentTypes
- attachment types to filter attachments onsearchParentName
- also applies the search to the parent name of the object (e.g. page name)startIndex
- the start index to search frompageSize
- the number of results to return from the startIndexparams
- additional parameters to apply to the searchspaceKeys
- the spaces to include in the searchCopyright © 2003-2014 Atlassian. All Rights Reserved.