|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.search.v2.lucene.compatibility.V2SearchSmartListManager
public class V2SearchSmartListManager
A SmartListManager backed by the V2 Search API, for backwards compatibility.
Constructor Summary | |
---|---|
V2SearchSmartListManager(SearchManager searchManager,
ConfluenceIndexManager indexManager)
|
Method Summary | |
---|---|
List |
getListQueryResults(ListQuery listQuery,
boolean loadObjects)
Returns a list of those objects in the Confluence system that match the given ListQuery. |
String |
getStatusMessageKey()
The smart list manager implementations are not guarenteed to be able to provide the latest and most up to date information all of the time (eg: during a lucene re-index). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public V2SearchSmartListManager(SearchManager searchManager, ConfluenceIndexManager indexManager)
Method Detail |
---|
public List getListQueryResults(ListQuery listQuery, boolean loadObjects)
SmartListManager
The loadObjects parameter allows you to trade off speed against the amount of information returned.
Passing false to this parameter will give you back a list of
SearchResultWithExcerpt
objects, containing whatever information
about the matching objects can be gathered directly from the Lucene index. This is enough information for
most purposes.
If you want a list of the actual hibernate objects from the database, pass true to this parameter, but be aware you're going to pay the cost of 'n' database calls to retrieve those objects.
getListQueryResults
in interface SmartListManager
listQuery
- the query to performloadObjects
- pass true to return
public String getStatusMessageKey()
SmartListManager
getStatusMessageKey
in interface SmartListManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |