public class UserIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME |
| Constructor and Description |
|---|
UserIndexer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addContextQueryParams(com.liferay.portal.kernel.search.filter.BooleanFilter contextFilter,
com.liferay.portal.kernel.search.SearchContext searchContext,
String key,
Object value) |
protected void |
doDelete(com.liferay.portal.kernel.model.User user) |
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.portal.kernel.model.User user) |
protected String |
doGetSortField(String orderByCol) |
protected com.liferay.portal.kernel.search.Summary |
doGetSummary(com.liferay.portal.kernel.search.Document document,
Locale locale,
String snippet,
PortletRequest portletRequest,
PortletResponse portletResponse) |
protected void |
doReindex(String[] ids) |
protected void |
doReindex(String className,
long classPK) |
protected void |
doReindex(com.liferay.portal.kernel.model.User user) |
protected long[] |
getAncestorOrganizationIds(long[] organizationIds) |
String |
getClassName() |
static long |
getUserId(com.liferay.portal.kernel.search.Document document) |
void |
postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
void |
postProcessSearchQuery(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
com.liferay.portal.kernel.search.filter.BooleanFilter fullQueryBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
reindexUsers(long companyId) |
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, addSearchAssetCategoryIds, addSearchAssetCategoryTitles, addSearchAssetTagNames, addSearchClassTypeIds, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, addSearchKeywords, addSearchLayout, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addSelectedLocalizedFieldNames, addStagingGroupKeyword, addStatus, addTrashFields, createFullQuery, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doPostProcessSearchQuery, doSearch, equals, getBaseModelDocument, getBaseModelDocument, getClassName, getClassNames, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getExpandoFieldName, getFacetBooleanFilter, getFullQuery, getIndexerPostProcessors, getLocale, getLocalizedCountryNames, getPortletId, getPortletId, getSearchClassNames, getSearchEngineId, getSiteGroup, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, getSummary, hashCode, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isStagingGroup, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessorpublic static final String CLASS_NAME
public static long getUserId(com.liferay.portal.kernel.search.Document document)
public String getClassName()
public void postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws Exception
postProcessContextBooleanFilter in interface com.liferay.portal.kernel.search.Indexer<com.liferay.portal.kernel.model.User>postProcessContextBooleanFilter in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>Exceptionpublic void postProcessSearchQuery(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
com.liferay.portal.kernel.search.filter.BooleanFilter fullQueryBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws Exception
postProcessSearchQuery in interface com.liferay.portal.kernel.search.Indexer<com.liferay.portal.kernel.model.User>postProcessSearchQuery in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>Exceptionprotected void addContextQueryParams(com.liferay.portal.kernel.search.filter.BooleanFilter contextFilter,
com.liferay.portal.kernel.search.SearchContext searchContext,
String key,
Object value)
throws Exception
Exceptionprotected void doDelete(com.liferay.portal.kernel.model.User user)
throws Exception
doDelete in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>Exceptionprotected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.portal.kernel.model.User user)
throws Exception
doGetDocument in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>Exceptionprotected String doGetSortField(String orderByCol)
doGetSortField in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>protected com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document,
Locale locale,
String snippet,
PortletRequest portletRequest,
PortletResponse portletResponse)
doGetSummary in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>protected void doReindex(String className, long classPK) throws Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>Exceptionprotected void doReindex(String[] ids) throws Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>Exceptionprotected void doReindex(com.liferay.portal.kernel.model.User user)
throws Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>Exceptionprotected long[] getAncestorOrganizationIds(long[] organizationIds)
throws Exception
Exceptionprotected void reindexUsers(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException