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(WikiPage wikiPage) |
protected com.liferay.portal.kernel.search.Document |
doGetDocument(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(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 |
reindexAttachments(WikiPage wikiPage) |
protected void |
reindexNodes(long companyId) |
protected void |
reindexPages(long companyId,
long groupId,
long nodeId) |
protected void |
setWikiEngineRenderer(WikiEngineRenderer wikiEngineRenderer) |
protected void |
setWikiNodeLocalService(WikiNodeLocalService wikiNodeLocalService) |
protected void |
setWikiNodeService(WikiNodeService wikiNodeService) |
protected void |
setWikiPageLocalService(WikiPageLocalService wikiPageLocalService) |
void |
updateFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext) |
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, 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, unregisterIndexerPostProcessor
public 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.RelatedEntryIndexer
java.lang.Exception
public 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.RelatedEntryIndexer
java.lang.Exception
public java.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.search.Indexer<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
public boolean isVisible(long classPK, int status) throws java.lang.Exception
public void postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter, com.liferay.portal.kernel.search.SearchContext searchContext) throws java.lang.Exception
public void updateFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
updateFullQuery
in interface com.liferay.portal.kernel.search.RelatedEntryIndexer
protected void doDelete(WikiPage wikiPage) throws java.lang.Exception
doDelete
in class com.liferay.portal.kernel.search.BaseIndexer<WikiPage>
java.lang.Exception
protected com.liferay.portal.kernel.search.Document doGetDocument(WikiPage wikiPage) throws java.lang.Exception
doGetDocument
in class com.liferay.portal.kernel.search.BaseIndexer<WikiPage>
java.lang.Exception
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)
doGetSummary
in class com.liferay.portal.kernel.search.BaseIndexer<WikiPage>
protected void doReindex(java.lang.String className, long classPK) throws java.lang.Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<WikiPage>
java.lang.Exception
protected void doReindex(java.lang.String[] ids) throws java.lang.Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<WikiPage>
java.lang.Exception
protected void doReindex(WikiPage wikiPage) throws java.lang.Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<WikiPage>
java.lang.Exception
protected void reindexAttachments(WikiPage wikiPage) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void reindexNodes(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void reindexPages(long companyId, long groupId, long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void setWikiEngineRenderer(WikiEngineRenderer wikiEngineRenderer)
protected void setWikiNodeLocalService(WikiNodeLocalService wikiNodeLocalService)
protected void setWikiNodeService(WikiNodeService wikiNodeService)
protected void setWikiPageLocalService(WikiPageLocalService wikiPageLocalService)