public class SearchContext
extends Object
implements Serializable
Constructor and Description |
---|
SearchContext() |
Modifier and Type | Method and Description |
---|---|
void |
addFacet(Facet facet) |
void |
addFullQueryEntryClassName(String entryClassName) |
void |
addStats(Stats stats) |
void |
clearFullQueryEntryClassNames() |
long[] |
getAssetCategoryIds() |
String[] |
getAssetTagNames() |
Serializable |
getAttribute(String name) |
Map<String,Serializable> |
getAttributes() |
BooleanClause<Query>[] |
getBooleanClauses() |
long[] |
getCategoryIds() |
long[] |
getClassTypeIds() |
long |
getCompanyId() |
int |
getEnd() |
String[] |
getEntryClassNames() |
Facet |
getFacet(String fieldName) |
Map<String,Facet> |
getFacets() |
long[] |
getFolderIds() |
String[] |
getFullQueryEntryClassNames() |
GroupBy |
getGroupBy() |
long[] |
getGroupIds() |
String |
getKeywords() |
String |
getLanguageId() |
Layout |
getLayout() |
Locale |
getLocale() |
long[] |
getNodeIds() |
long |
getOwnerUserId() |
String[] |
getPortletIds() |
QueryConfig |
getQueryConfig() |
float |
getScoresThreshold() |
String |
getSearchEngineId() |
Sort[] |
getSorts() |
int |
getStart() |
Map<String,Stats> |
getStats() |
Stats |
getStats(String fieldName) |
TimeZone |
getTimeZone() |
long |
getUserId() |
boolean |
hasOverridenKeywords() |
boolean |
isAndSearch() |
boolean |
isCommitImmediately() |
boolean |
isIncludeAttachments() |
boolean |
isIncludeDiscussions() |
boolean |
isIncludeFolders() |
boolean |
isIncludeLiveGroups() |
boolean |
isIncludeStagingGroups() |
boolean |
isLike() |
boolean |
isScopeStrict() |
void |
overrideKeywords(String keywords) |
void |
setAndSearch(boolean andSearch) |
void |
setAssetCategoryIds(long[] assetCategoryIds) |
void |
setAssetTagNames(String[] assetTagNames) |
void |
setAttribute(String name,
Serializable value) |
void |
setAttributes(Map<String,Serializable> attributes) |
void |
setBooleanClauses(BooleanClause<Query>[] booleanClauses) |
void |
setCategoryIds(long[] categoryIds) |
void |
setClassTypeIds(long[] classTypeIds) |
void |
setCommitImmediately(boolean commitImmediately) |
void |
setCompanyId(long companyId) |
void |
setEnd(int end) |
void |
setEntryClassNames(String[] entryClassNames) |
void |
setFacets(List<Facet> facets) |
void |
setFolderIds(List<Long> folderIds) |
void |
setFolderIds(long[] folderIds) |
void |
setGroupBy(GroupBy groupBy) |
void |
setGroupIds(long[] groupIds) |
void |
setIncludeAttachments(boolean includeAttachments) |
void |
setIncludeDiscussions(boolean includeDiscussions) |
void |
setIncludeFolders(boolean includeFolders) |
void |
setIncludeLiveGroups(boolean includeLiveGroups) |
void |
setIncludeStagingGroups(boolean includeStagingGroups) |
void |
setKeywords(String keywords) |
void |
setLayout(Layout layout) |
void |
setLike(boolean like) |
void |
setLocale(Locale locale) |
void |
setNodeIds(long[] nodeIds) |
void |
setOwnerUserId(long ownerUserId) |
void |
setPortletIds(String[] portletIds) |
void |
setQueryConfig(QueryConfig queryConfig) |
void |
setScopeStrict(boolean scopeStrict) |
void |
setScoresThreshold(float scoresThreshold) |
void |
setSearchEngineId(String searchEngineId) |
void |
setSorts(Sort... sorts) |
void |
setStart(int start) |
void |
setTimeZone(TimeZone timeZone) |
void |
setUserId(long userId) |
public void addFacet(Facet facet)
public void addFullQueryEntryClassName(String entryClassName)
public void addStats(Stats stats)
public void clearFullQueryEntryClassNames()
public long[] getAssetCategoryIds()
public String[] getAssetTagNames()
public Serializable getAttribute(String name)
public Map<String,Serializable> getAttributes()
public BooleanClause<Query>[] getBooleanClauses()
public long[] getCategoryIds()
public long[] getClassTypeIds()
public long getCompanyId()
public int getEnd()
public String[] getEntryClassNames()
public Facet getFacet(String fieldName)
public Map<String,Facet> getFacets()
public long[] getFolderIds()
public String[] getFullQueryEntryClassNames()
public GroupBy getGroupBy()
public long[] getGroupIds()
public String getKeywords()
public String getLanguageId()
public Layout getLayout()
public Locale getLocale()
public long[] getNodeIds()
public long getOwnerUserId()
public String[] getPortletIds()
public QueryConfig getQueryConfig()
public float getScoresThreshold()
public String getSearchEngineId()
public Sort[] getSorts()
public int getStart()
public Map<String,Stats> getStats()
public Stats getStats(String fieldName)
public TimeZone getTimeZone()
public long getUserId()
public boolean hasOverridenKeywords()
public boolean isAndSearch()
public boolean isCommitImmediately()
public boolean isIncludeAttachments()
public boolean isIncludeDiscussions()
public boolean isIncludeFolders()
public boolean isIncludeLiveGroups()
public boolean isIncludeStagingGroups()
public boolean isLike()
public boolean isScopeStrict()
public void overrideKeywords(String keywords)
public void setAndSearch(boolean andSearch)
public void setAssetCategoryIds(long[] assetCategoryIds)
public void setAssetTagNames(String[] assetTagNames)
public void setAttribute(String name, Serializable value)
public void setAttributes(Map<String,Serializable> attributes)
public void setBooleanClauses(BooleanClause<Query>[] booleanClauses)
public void setCategoryIds(long[] categoryIds)
public void setClassTypeIds(long[] classTypeIds)
public void setCommitImmediately(boolean commitImmediately)
public void setCompanyId(long companyId)
public void setEnd(int end)
public void setEntryClassNames(String[] entryClassNames)
public void setFacets(List<Facet> facets)
public void setFolderIds(List<Long> folderIds)
public void setFolderIds(long[] folderIds)
public void setGroupBy(GroupBy groupBy)
public void setGroupIds(long[] groupIds)
public void setIncludeAttachments(boolean includeAttachments)
public void setIncludeDiscussions(boolean includeDiscussions)
public void setIncludeFolders(boolean includeFolders)
public void setIncludeLiveGroups(boolean includeLiveGroups)
public void setIncludeStagingGroups(boolean includeStagingGroups)
public void setKeywords(String keywords)
public void setLayout(Layout layout)
public void setLike(boolean like)
public void setLocale(Locale locale)
public void setNodeIds(long[] nodeIds)
public void setOwnerUserId(long ownerUserId)
public void setPortletIds(String[] portletIds)
public void setQueryConfig(QueryConfig queryConfig)
public void setScopeStrict(boolean scopeStrict)
public void setScoresThreshold(float scoresThreshold)
public void setSearchEngineId(String searchEngineId)
public void setSorts(Sort... sorts)
public void setStart(int start)
public void setTimeZone(TimeZone timeZone)
public void setUserId(long userId)