public abstract class BaseAlloyIndexer
extends com.liferay.portal.kernel.search.BaseIndexer
| Modifier and Type | Field and Description |
|---|---|
protected AlloyServiceInvoker |
alloyServiceInvoker |
protected java.lang.String[] |
classNames |
protected java.lang.String |
portletId |
| Constructor and Description |
|---|
BaseAlloyIndexer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(java.lang.Object obj) |
protected void |
doReindex(java.lang.Object obj) |
protected void |
doReindex(java.lang.String[] ids) |
protected void |
doReindex(java.lang.String className,
long classPK) |
AlloyServiceInvoker |
getAlloyServiceInvoker() |
java.lang.String[] |
getClassNames() |
java.lang.String |
getPortletId() |
protected java.lang.String |
getPortletId(com.liferay.portal.kernel.search.SearchContext searchContext) |
void |
postProcessContextQuery(com.liferay.portal.kernel.search.BooleanQuery contextQuery,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
reindexModels(long companyId) |
protected void |
reindexModels(long companyId,
int start,
int end) |
protected void |
setAlloyServiceInvoker(AlloyServiceInvoker alloyServiceInvoker) |
protected void |
setClassName(java.lang.String className) |
protected void |
setPortletId(java.lang.String portletId) |
addAssetFields, addLocalizedSearchTerm, addRelatedClassNames, addRelatedEntryFields, addSearchArrayQuery, addSearchAssetCategoryIds, addSearchAssetCategoryTitles, addSearchAssetTagNames, addSearchClassTypeIds, addSearchDDMStruture, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, addSearchKeywords, addSearchLayout, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addStagingGroupKeyword, addStatus, addTrashFields, createFullQuery, createLocalizedSummary, createLocalizedSummary, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetDocument, doGetSortField, doGetSummary, doReindexDDMStructures, doSearch, filterSearch, getBaseModelDocument, getBaseModelDocument, getClassName, getDocument, getFacetQuery, getFullQuery, getIndexerPostProcessors, getLocalizedCountryNames, getParentGroupId, getSearchEngineId, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isStagingAware, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessFullQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindexDDMStructures, search, setCommitImmediately, setFilterSearch, setIndexerEnabled, setPermissionAware, setSortableTextFields, setStagingAware, unregisterIndexerPostProcessorprotected AlloyServiceInvoker alloyServiceInvoker
protected java.lang.String[] classNames
protected java.lang.String portletId
public AlloyServiceInvoker getAlloyServiceInvoker()
public java.lang.String[] getClassNames()
public java.lang.String getPortletId()
public void postProcessContextQuery(com.liferay.portal.kernel.search.BooleanQuery contextQuery,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws java.lang.Exception
postProcessContextQuery in interface com.liferay.portal.kernel.search.IndexerpostProcessContextQuery in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected void doDelete(java.lang.Object obj)
throws java.lang.Exception
doDelete in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected void doReindex(java.lang.Object obj)
throws java.lang.Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected void doReindex(java.lang.String className,
long classPK)
throws java.lang.Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected void doReindex(java.lang.String[] ids)
throws java.lang.Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected java.lang.String getPortletId(com.liferay.portal.kernel.search.SearchContext searchContext)
getPortletId in class com.liferay.portal.kernel.search.BaseIndexerprotected void reindexModels(long companyId)
throws java.lang.Exception
java.lang.Exceptionprotected void reindexModels(long companyId,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionprotected void setAlloyServiceInvoker(AlloyServiceInvoker alloyServiceInvoker)
protected void setClassName(java.lang.String className)
protected void setPortletId(java.lang.String portletId)