Liferay 7.0-ga1 portal-impl

com.liferay.portlet.usersadmin.util
Class UserIndexer

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>
      extended by com.liferay.portlet.usersadmin.util.UserIndexer
All Implemented Interfaces:
com.liferay.portal.kernel.search.Indexer<com.liferay.portal.kernel.model.User>

public class UserIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>


Field Summary
static String CLASS_NAME
           
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
UserIndexer()
           
 
Method Summary
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)
           
 
Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer
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, unregisterIndexerPostProcessor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME
Constructor Detail

UserIndexer

public UserIndexer()
Method Detail

getUserId

public static long getUserId(com.liferay.portal.kernel.search.Document document)

getClassName

public String getClassName()

postProcessContextBooleanFilter

public void postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
                                            com.liferay.portal.kernel.search.SearchContext searchContext)
                                     throws Exception
Specified by:
postProcessContextBooleanFilter in interface com.liferay.portal.kernel.search.Indexer<com.liferay.portal.kernel.model.User>
Overrides:
postProcessContextBooleanFilter in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>
Throws:
Exception

postProcessSearchQuery

public 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
Specified by:
postProcessSearchQuery in interface com.liferay.portal.kernel.search.Indexer<com.liferay.portal.kernel.model.User>
Overrides:
postProcessSearchQuery in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>
Throws:
Exception

addContextQueryParams

protected void addContextQueryParams(com.liferay.portal.kernel.search.filter.BooleanFilter contextFilter,
                                     com.liferay.portal.kernel.search.SearchContext searchContext,
                                     String key,
                                     Object value)
                              throws Exception
Throws:
Exception

doDelete

protected void doDelete(com.liferay.portal.kernel.model.User user)
                 throws Exception
Specified by:
doDelete in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>
Throws:
Exception

doGetDocument

protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.portal.kernel.model.User user)
                                                           throws Exception
Specified by:
doGetDocument in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>
Throws:
Exception

doGetSortField

protected String doGetSortField(String orderByCol)
Overrides:
doGetSortField in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>

doGetSummary

protected com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document,
                                                                Locale locale,
                                                                String snippet,
                                                                PortletRequest portletRequest,
                                                                PortletResponse portletResponse)
Specified by:
doGetSummary in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>

doReindex

protected void doReindex(String className,
                         long classPK)
                  throws Exception
Specified by:
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>
Throws:
Exception

doReindex

protected void doReindex(String[] ids)
                  throws Exception
Specified by:
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>
Throws:
Exception

doReindex

protected void doReindex(com.liferay.portal.kernel.model.User user)
                  throws Exception
Specified by:
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.User>
Throws:
Exception

getAncestorOrganizationIds

protected long[] getAncestorOrganizationIds(long[] organizationIds)
                                     throws Exception
Throws:
Exception

reindexUsers

protected void reindexUsers(long companyId)
                     throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ga1 portal-impl