|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentNameSearcher
Search for Confluence content by its name (for Pages we search title, for users, we search full names, etc.).
Method Summary | |
---|---|
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens)
Search and expect results using the Confluence default ResultTemplate . |
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens,
ResultTemplate grouping)
Search returning results meeting the specified ResultTemplate . |
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens,
ResultTemplate grouping,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys)
Search returning results in the specified space and ResultTemplate |
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens,
ResultTemplate grouping,
String... spaceKeys)
Search returning results in the specified space and ResultTemplate |
Method Detail |
---|
Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens)
ResultTemplate
.
queryTokens
- the parsed tokens to search with.
IllegalArgumentException
- if the supplied queryTokens are emptyResultTemplate.DEFAULT
,
QueryTokenizer
Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens, ResultTemplate grouping)
ResultTemplate
.
queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.
IllegalArgumentException
- if the supplied queryTokens are empty or the supplied grouping is null.QueryTokenizer
Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens, ResultTemplate grouping, String... spaceKeys)
ResultTemplate
queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.
IllegalArgumentException
- if the supplied queryTokens are empty or the supplied grouping is null.QueryTokenizer
Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens, ResultTemplate grouping, Set<Attachment.Type> attachmentTypes, String... spaceKeys)
ResultTemplate
queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.attachmentTypes
- attachment types to filter attachments on
IllegalArgumentException
- if the supplied queryTokens are empty or the supplied grouping is null.QueryTokenizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |