public class SearchResult extends Object
Modifier and Type | Class and Description |
---|---|
class |
SearchResult.DateComporator |
class |
SearchResult.PriorityComporator |
static class |
SearchResult.SearchElement |
Modifier and Type | Method and Description |
---|---|
void |
cleanResult() |
ContentContext |
getContentContext() |
static SearchResult |
getInstance(ContentContext ctx) |
String |
getQuery() |
SearchResult.SearchElement[] |
getResult() |
List<SearchResult.SearchElement> |
getSearchResult() |
Collection<SearchResult.SearchElement> |
getSearchResultCollection() |
String |
getSearchText() |
String |
getSort() |
String |
getUrlQuery() |
String |
getUrlSearchText() |
void |
search(ContentContext ctx,
String groupId,
String searchText,
String sort,
List<String> comps) |
void |
searchComponent(ContentContext ctx,
String componentType) |
void |
searchComponentInPage(ContentContext ctx,
String componentType) |
void |
setContentContext(ContentContext ctx) |
void |
setQuery(String query) |
void |
setSort(String sort) |
public static SearchResult getInstance(ContentContext ctx)
public void cleanResult()
public SearchResult.SearchElement[] getResult()
public List<SearchResult.SearchElement> getSearchResult()
public void searchComponentInPage(ContentContext ctx, String componentType) throws Exception
Exception
public void search(ContentContext ctx, String groupId, String searchText, String sort, List<String> comps) throws Exception
Exception
public void searchComponent(ContentContext ctx, String componentType) throws Exception
Exception
public Collection<SearchResult.SearchElement> getSearchResultCollection()
public String getSearchText()
public String getUrlSearchText()
public String getQuery()
public String getUrlQuery()
public void setQuery(String query)
public String getSort()
public void setSort(String sort)
public ContentContext getContentContext()
public void setContentContext(ContentContext ctx)
Copyright © 2012-2018. All Rights Reserved.