com.liferay.portal.kernel.search
Class SearchContext
java.lang.Object
com.liferay.portal.kernel.search.SearchContext
- All Implemented Interfaces:
- Serializable
public class SearchContext
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchContext
public SearchContext()
addFacet
public void addFacet(Facet facet)
getAssetCategoryIds
public long[] getAssetCategoryIds()
getAssetTagNames
public String[] getAssetTagNames()
getAttribute
public Serializable getAttribute(String name)
getAttributes
public Map<String,Serializable> getAttributes()
getBooleanClauses
public BooleanClause[] getBooleanClauses()
getCategoryIds
public long[] getCategoryIds()
getCompanyId
public long getCompanyId()
getEnd
public int getEnd()
getEntryClassNames
public String[] getEntryClassNames()
getFacet
public Facet getFacet(String fieldName)
getFacets
public Map<String,Facet> getFacets()
getFolderIds
public long[] getFolderIds()
getGroupIds
public long[] getGroupIds()
getKeywords
public String getKeywords()
getLayout
public Layout getLayout()
getLocale
public Locale getLocale()
getNodeIds
public long[] getNodeIds()
getOwnerUserId
public long getOwnerUserId()
getPortletIds
public String[] getPortletIds()
getQueryConfig
public QueryConfig getQueryConfig()
getSearchEngineId
public String getSearchEngineId()
getSorts
public Sort[] getSorts()
getStart
public int getStart()
getTimeZone
public TimeZone getTimeZone()
getUserId
public long getUserId()
isAndSearch
public boolean isAndSearch()
isIncludeLiveGroups
public boolean isIncludeLiveGroups()
isIncludeStagingGroups
public boolean isIncludeStagingGroups()
isScopeStrict
public boolean isScopeStrict()
setAndSearch
public void setAndSearch(boolean andSearch)
setAssetCategoryIds
public void setAssetCategoryIds(long[] assetCategoryIds)
setAssetTagNames
public void setAssetTagNames(String[] assetTagNames)
setAttribute
public void setAttribute(String name,
Serializable value)
setAttributes
public void setAttributes(Map<String,Serializable> attributes)
setBooleanClauses
public void setBooleanClauses(BooleanClause[] booleanClauses)
setCategoryIds
public void setCategoryIds(long[] categoryIds)
setCompanyId
public void setCompanyId(long companyId)
setEnd
public void setEnd(int end)
setEntryClassNames
public void setEntryClassNames(String[] entryClassNames)
setFacets
public void setFacets(List<Facet> facets)
setFolderIds
public void setFolderIds(long[] folderIds)
setGroupIds
public void setGroupIds(long[] groupIds)
setIncludeLiveGroups
public void setIncludeLiveGroups(boolean includeLiveGroups)
setIncludeStagingGroups
public void setIncludeStagingGroups(boolean includeStagingGroups)
setKeywords
public void setKeywords(String keywords)
setLayout
public void setLayout(Layout layout)
setLocale
public void setLocale(Locale locale)
setNodeIds
public void setNodeIds(long[] nodeIds)
setOwnerUserId
public void setOwnerUserId(long ownerUserId)
setPortletIds
public void setPortletIds(String[] portletIds)
setQueryConfig
public void setQueryConfig(QueryConfig queryConfig)
setScopeStrict
public void setScopeStrict(boolean scopeStrict)
setSearchEngineId
public void setSearchEngineId(String searchEngineId)
setSorts
public void setSorts(Sort[] sorts)
setStart
public void setStart(int start)
setTimeZone
public void setTimeZone(TimeZone timeZone)
setUserId
public void setUserId(long userId)