Class Search
- java.lang.Object
-
- com.logicaldoc.gui.frontend.client.search.Search
-
public class Search extends Object
Collector for all searches- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObserver(SearchObserver observer)
static Search
get()
long
getEstimatedHits()
GUIDocument[]
getLastResult()
int
getMaxHits()
GUISearchOptions
getOptions()
long
getTime()
boolean
isEmpty()
boolean
isHasMore()
void
removeObserver(SearchObserver observer)
void
search()
void
setEstimatedResults(long estimatedResults)
void
setHasMore(boolean hasMore)
void
setMaxHits(int maxHits)
void
setOptions(GUISearchOptions options)
-
-
-
Method Detail
-
get
public static Search get()
-
addObserver
public void addObserver(SearchObserver observer)
-
removeObserver
public void removeObserver(SearchObserver observer)
-
getOptions
public GUISearchOptions getOptions()
-
setOptions
public void setOptions(GUISearchOptions options)
-
search
public void search()
-
getLastResult
public GUIDocument[] getLastResult()
-
getTime
public long getTime()
-
isEmpty
public boolean isEmpty()
-
isHasMore
public boolean isHasMore()
-
setHasMore
public void setHasMore(boolean hasMore)
-
getEstimatedHits
public long getEstimatedHits()
-
setEstimatedResults
public void setEstimatedResults(long estimatedResults)
-
getMaxHits
public int getMaxHits()
-
setMaxHits
public void setMaxHits(int maxHits)
-
-