com.liferay.portlet.usersadmin.util
Class ContactIndexer
java.lang.Object
com.liferay.portal.kernel.search.BaseIndexer<Contact>
com.liferay.portlet.usersadmin.util.ContactIndexer
- All Implemented Interfaces:
- Indexer<Contact>
public class ContactIndexer
- extends BaseIndexer<Contact>
| 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, postProcessContextBooleanFilter, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessor |
CLASS_NAME
public static final String CLASS_NAME
ContactIndexer
public ContactIndexer()
getClassName
public String getClassName()
postProcessSearchQuery
public void postProcessSearchQuery(BooleanQuery searchQuery,
BooleanFilter fullQueryBooleanFilter,
SearchContext searchContext)
throws Exception
- Specified by:
postProcessSearchQuery in interface Indexer<Contact>- Overrides:
postProcessSearchQuery in class BaseIndexer<Contact>
- Throws:
Exception
doDelete
protected void doDelete(Contact contact)
throws Exception
- Specified by:
doDelete in class BaseIndexer<Contact>
- Throws:
Exception
doGetDocument
protected Document doGetDocument(Contact contact)
throws Exception
- Specified by:
doGetDocument in class BaseIndexer<Contact>
- Throws:
Exception
doGetSortField
protected String doGetSortField(String orderByCol)
- Overrides:
doGetSortField in class BaseIndexer<Contact>
doGetSummary
protected Summary doGetSummary(Document document,
Locale locale,
String snippet,
PortletRequest portletRequest,
PortletResponse portletResponse)
- Specified by:
doGetSummary in class BaseIndexer<Contact>
doReindex
protected void doReindex(Contact contact)
throws Exception
- Specified by:
doReindex in class BaseIndexer<Contact>
- Throws:
Exception
doReindex
protected void doReindex(String className,
long classPK)
throws Exception
- Specified by:
doReindex in class BaseIndexer<Contact>
- Throws:
Exception
doReindex
protected void doReindex(String[] ids)
throws Exception
- Specified by:
doReindex in class BaseIndexer<Contact>
- Throws:
Exception
reindexContacts
protected void reindexContacts(long companyId)
throws PortalException
- Throws:
PortalException