|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.search.v2.lucene.mapper.FavouriteSpaceQueryMapper
public class FavouriteSpaceQueryMapper
Currently, only checks the current user's favourite spaces. You could add an optional username parameter that checked the favourites of other users, but you'd have to ensure it was only used in safe circumstances, since people shouldn't be allowed to see other peoples favourites.
Constructor Summary | |
---|---|
FavouriteSpaceQueryMapper(LabelManager labelManager)
|
Method Summary | |
---|---|
org.apache.lucene.search.Query |
convertToLuceneQuery(SearchQuery smartListQuery)
Convert a SearchQuery into a lucene query |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FavouriteSpaceQueryMapper(LabelManager labelManager)
Method Detail |
---|
public org.apache.lucene.search.Query convertToLuceneQuery(SearchQuery smartListQuery)
LuceneQueryMapper
convertToLuceneQuery
in interface LuceneQueryMapper
smartListQuery
- the query to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |