com.liferay.util.bridges.alloy
Class BaseAlloyIndexer
java.lang.Object
com.liferay.portal.kernel.search.BaseIndexer
com.liferay.util.bridges.alloy.BaseAlloyIndexer
- All Implemented Interfaces:
- Indexer
public abstract class BaseAlloyIndexer
- extends BaseIndexer
Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer |
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, unregisterIndexerPostProcessor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
alloyServiceInvoker
protected AlloyServiceInvoker alloyServiceInvoker
classNames
protected String[] classNames
portletId
protected String portletId
BaseAlloyIndexer
public BaseAlloyIndexer()
getAlloyServiceInvoker
public AlloyServiceInvoker getAlloyServiceInvoker()
getClassNames
public String[] getClassNames()
getPortletId
public String getPortletId()
postProcessContextQuery
public void postProcessContextQuery(BooleanQuery contextQuery,
SearchContext searchContext)
throws Exception
- Specified by:
postProcessContextQuery
in interface Indexer
- Overrides:
postProcessContextQuery
in class BaseIndexer
- Throws:
Exception
doDelete
protected void doDelete(Object obj)
throws Exception
- Specified by:
doDelete
in class BaseIndexer
- Throws:
Exception
doReindex
protected void doReindex(Object obj)
throws Exception
- Specified by:
doReindex
in class BaseIndexer
- Throws:
Exception
doReindex
protected void doReindex(String className,
long classPK)
throws Exception
- Specified by:
doReindex
in class BaseIndexer
- Throws:
Exception
doReindex
protected void doReindex(String[] ids)
throws Exception
- Specified by:
doReindex
in class BaseIndexer
- Throws:
Exception
getPortletId
protected String getPortletId(SearchContext searchContext)
- Specified by:
getPortletId
in class BaseIndexer
reindexModels
protected void reindexModels(long companyId)
throws Exception
- Throws:
Exception
reindexModels
protected void reindexModels(long companyId,
int start,
int end)
throws Exception
- Throws:
Exception
setAlloyServiceInvoker
protected void setAlloyServiceInvoker(AlloyServiceInvoker alloyServiceInvoker)
setClassName
protected void setClassName(String className)
setPortletId
protected void setPortletId(String portletId)