public class MBThreadIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
Constructor and Description |
---|
MBThreadIndexer() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDelete(com.liferay.message.boards.kernel.model.MBThread mbThread) |
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.message.boards.kernel.model.MBThread mbThread) |
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(com.liferay.message.boards.kernel.model.MBThread mbThread) |
protected void |
doReindex(String[] ids) |
protected void |
doReindex(String className,
long classPK) |
String |
getClassName() |
boolean |
hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
String entryClassName,
long entryClassPK,
String actionId) |
void |
postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
reindexCategories(long companyId) |
protected void |
reindexDiscussions(long companyId) |
protected void |
reindexRoot(long companyId) |
protected void |
reindexThreads(long companyId,
long groupId,
long categoryId) |
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, addLocalizedField, 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, doGetSortField, doPostProcessSearchQuery, doSearch, equals, getBaseModelDocument, getBaseModelDocument, getClassName, getClassNames, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getExpandoFieldName, getExpandoQueryContributors, getFacetBooleanFilter, getFullQuery, getIndexerPostProcessors, getLocale, getLocalizedCountryNames, getPortletId, getPortletId, getSearchClassNames, getSearchEngineId, getSiteGroup, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, getSummary, hashCode, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isStagingGroup, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessor
public String getClassName()
public boolean hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, String entryClassName, long entryClassPK, String actionId) throws Exception
hasPermission
in interface com.liferay.portal.kernel.search.Indexer<com.liferay.message.boards.kernel.model.MBThread>
hasPermission
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Exception
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.message.boards.kernel.model.MBThread>
postProcessContextBooleanFilter
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Exception
protected void doDelete(com.liferay.message.boards.kernel.model.MBThread mbThread) throws Exception
doDelete
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Exception
protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.message.boards.kernel.model.MBThread mbThread) throws Exception
doGetDocument
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Exception
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.message.boards.kernel.model.MBThread>
protected void doReindex(com.liferay.message.boards.kernel.model.MBThread mbThread) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Exception
protected void doReindex(String className, long classPK) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Exception
protected void doReindex(String[] ids) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Exception
protected void reindexCategories(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void reindexDiscussions(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void reindexRoot(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void reindexThreads(long companyId, long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException