public class WikiPageIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>
implements com.liferay.portal.kernel.search.RelatedEntryIndexer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME |
| Constructor and Description |
|---|
WikiPageIndexer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRelatedClassNames(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
void |
addRelatedEntryFields(com.liferay.portal.kernel.search.Document document,
java.lang.Object obj) |
protected void |
doDelete(com.liferay.wiki.model.WikiPage wikiPage) |
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.wiki.model.WikiPage wikiPage) |
protected com.liferay.portal.kernel.search.Summary |
doGetSummary(com.liferay.portal.kernel.search.Document document,
java.util.Locale locale,
java.lang.String snippet,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
protected void |
doReindex(java.lang.String[] ids) |
protected void |
doReindex(java.lang.String className,
long classPK) |
protected void |
doReindex(com.liferay.wiki.model.WikiPage wikiPage) |
java.lang.String |
getClassName() |
boolean |
hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
java.lang.String entryClassName,
long entryClassPK,
java.lang.String actionId) |
boolean |
isVisible(long classPK,
int status) |
void |
postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
reindexNodes(long companyId) |
protected void |
reindexPages(long companyId,
long groupId,
long nodeId) |
protected void |
setWikiEngineRenderer(WikiEngineRenderer wikiEngineRenderer) |
protected void |
setWikiNodeLocalService(com.liferay.wiki.service.WikiNodeLocalService wikiNodeLocalService) |
protected void |
setWikiNodeService(com.liferay.wiki.service.WikiNodeService wikiNodeService) |
protected void |
setWikiPageLocalService(com.liferay.wiki.service.WikiPageLocalService wikiPageLocalService) |
void |
updateFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext) |
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, 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, unregisterIndexerPostProcessorpublic void addRelatedClassNames(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws java.lang.Exception
addRelatedClassNames in interface com.liferay.portal.kernel.search.RelatedEntryIndexerjava.lang.Exceptionpublic void addRelatedEntryFields(com.liferay.portal.kernel.search.Document document,
java.lang.Object obj)
throws java.lang.Exception
addRelatedEntryFields in interface com.liferay.portal.kernel.search.RelatedEntryIndexerjava.lang.Exceptionpublic java.lang.String getClassName()
getClassName in interface com.liferay.portal.kernel.search.Indexer<com.liferay.wiki.model.WikiPage>public boolean hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
java.lang.String entryClassName,
long entryClassPK,
java.lang.String actionId)
throws java.lang.Exception
hasPermission in interface com.liferay.portal.kernel.search.Indexer<com.liferay.wiki.model.WikiPage>hasPermission in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionpublic boolean isVisible(long classPK,
int status)
throws java.lang.Exception
isVisible in interface com.liferay.portal.kernel.search.Indexer<com.liferay.wiki.model.WikiPage>isVisible in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionpublic void postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws java.lang.Exception
postProcessContextBooleanFilter in interface com.liferay.portal.kernel.search.Indexer<com.liferay.wiki.model.WikiPage>postProcessContextBooleanFilter in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionpublic void updateFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
updateFullQuery in interface com.liferay.portal.kernel.search.RelatedEntryIndexerprotected void doDelete(com.liferay.wiki.model.WikiPage wikiPage)
throws java.lang.Exception
doDelete in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionprotected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.wiki.model.WikiPage wikiPage)
throws java.lang.Exception
doGetDocument in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionprotected com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document,
java.util.Locale locale,
java.lang.String snippet,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
doGetSummary in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>protected void doReindex(java.lang.String className,
long classPK)
throws java.lang.Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionprotected void doReindex(java.lang.String[] ids)
throws java.lang.Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionprotected void doReindex(com.liferay.wiki.model.WikiPage wikiPage)
throws java.lang.Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.wiki.model.WikiPage>java.lang.Exceptionprotected void reindexNodes(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void reindexPages(long companyId,
long groupId,
long nodeId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void setWikiEngineRenderer(WikiEngineRenderer wikiEngineRenderer)
protected void setWikiNodeLocalService(com.liferay.wiki.service.WikiNodeLocalService wikiNodeLocalService)
protected void setWikiNodeService(com.liferay.wiki.service.WikiNodeService wikiNodeService)
protected void setWikiPageLocalService(com.liferay.wiki.service.WikiPageLocalService wikiPageLocalService)