|
Liferay 7.0-ce-b8 portal-impl | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBMessage>
com.liferay.portlet.messageboards.util.MBMessageIndexer
public class MBMessageIndexer
| Field Summary | |
|---|---|
static String |
CLASS_NAME
|
| Fields inherited from interface com.liferay.portal.kernel.search.Indexer |
|---|
DEFAULT_INTERVAL |
| Constructor Summary | |
|---|---|
MBMessageIndexer()
|
|
| Method Summary | |
|---|---|
void |
addRelatedClassNames(com.liferay.portal.kernel.search.filter.BooleanFilter contextFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
|
void |
addRelatedEntryFields(com.liferay.portal.kernel.search.Document document,
Object obj)
|
protected void |
doDelete(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
|
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
|
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.MBMessage mbMessage)
|
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)
|
boolean |
isVisible(long classPK,
int status)
|
boolean |
isVisibleRelatedEntry(long classPK,
int status)
|
void |
postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
|
protected String |
processContent(com.liferay.message.boards.kernel.model.MBMessage message)
|
protected void |
reindexCategories(long companyId)
|
protected void |
reindexDiscussions(long companyId)
|
protected void |
reindexMessages(long companyId,
long groupId,
long categoryId)
|
protected void |
reindexRoot(long companyId)
|
void |
updateFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
|
| 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, 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 |
|---|
public static final String CLASS_NAME
| Constructor Detail |
|---|
public MBMessageIndexer()
| Method Detail |
|---|
public void addRelatedClassNames(com.liferay.portal.kernel.search.filter.BooleanFilter contextFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws Exception
addRelatedClassNames in interface com.liferay.portal.kernel.search.RelatedEntryIndexerException
public void addRelatedEntryFields(com.liferay.portal.kernel.search.Document document,
Object obj)
throws Exception
addRelatedEntryFields in interface com.liferay.portal.kernel.search.RelatedEntryIndexerExceptionpublic String getClassName()
getClassName in interface com.liferay.portal.kernel.search.Indexer<com.liferay.message.boards.kernel.model.MBMessage>
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.MBMessage>hasPermission in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBMessage>Exception
public boolean isVisible(long classPK,
int status)
throws Exception
isVisible in interface com.liferay.portal.kernel.search.Indexer<com.liferay.message.boards.kernel.model.MBMessage>isVisible in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBMessage>Exception
public boolean isVisibleRelatedEntry(long classPK,
int status)
throws Exception
isVisibleRelatedEntry in interface com.liferay.portal.kernel.search.Indexer<com.liferay.message.boards.kernel.model.MBMessage>isVisibleRelatedEntry in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBMessage>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.MBMessage>postProcessContextBooleanFilter in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBMessage>Exceptionpublic void updateFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
updateFullQuery in interface com.liferay.portal.kernel.search.RelatedEntryIndexer
protected void doDelete(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
throws Exception
doDelete in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBMessage>Exception
protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
throws Exception
doGetDocument in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBMessage>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.MBMessage>
protected void doReindex(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
throws Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBMessage>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.MBMessage>Exception
protected void doReindex(String[] ids)
throws Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.message.boards.kernel.model.MBMessage>Exceptionprotected String processContent(com.liferay.message.boards.kernel.model.MBMessage message)
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 reindexMessages(long companyId,
long groupId,
long categoryId)
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
|
Liferay 7.0-ce-b8 portal-impl | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||