Liferay 7.0-ce-b8 portal-impl

com.liferay.portlet.messageboards.util
Class MBThreadIndexer

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
      extended by com.liferay.portlet.messageboards.util.MBThreadIndexer
All Implemented Interfaces:
com.liferay.portal.kernel.search.Indexer<com.liferay.message.boards.kernel.model.MBThread>

public class MBThreadIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>


Field Summary
static String CLASS_NAME
           
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
MBThreadIndexer()
           
 
Method Summary
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)
           
 
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, doGetSortField, 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, 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
 
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

MBThreadIndexer

public MBThreadIndexer()
Method Detail

getClassName

public String getClassName()

hasPermission

public boolean hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
                             String entryClassName,
                             long entryClassPK,
                             String actionId)
                      throws Exception
Specified by:
hasPermission in interface com.liferay.portal.kernel.search.Indexer<com.liferay.message.boards.kernel.model.MBThread>
Overrides:
hasPermission in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Throws:
Exception

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.message.boards.kernel.model.MBThread>
Overrides:
postProcessContextBooleanFilter in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Throws:
Exception

doDelete

protected void doDelete(com.liferay.message.boards.kernel.model.MBThread mbThread)
                 throws Exception
Specified by:
doDelete in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Throws:
Exception

doGetDocument

protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.message.boards.kernel.model.MBThread mbThread)
                                                           throws Exception
Specified by:
doGetDocument in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Throws:
Exception

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.message.boards.kernel.model.MBThread>

doReindex

protected void doReindex(com.liferay.message.boards.kernel.model.MBThread mbThread)
                  throws Exception
Specified by:
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBThread>
Throws:
Exception

doReindex

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

doReindex

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

reindexCategories

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

reindexDiscussions

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

reindexRoot

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

reindexThreads

protected void reindexThreads(long companyId,
                              long groupId,
                              long categoryId)
                       throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ce-b8 portal-impl