Liferay 6.2-ce-ga5

com.liferay.util.bridges.alloy
Class BaseAlloyIndexer

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer
      extended by com.liferay.util.bridges.alloy.BaseAlloyIndexer
All Implemented Interfaces:
Indexer

public abstract class BaseAlloyIndexer
extends BaseIndexer


Field Summary
protected  AlloyServiceInvoker alloyServiceInvoker
           
protected  String[] classNames
           
protected  String portletId
           
 
Fields inherited from class com.liferay.portal.kernel.search.BaseIndexer
INDEX_FILTER_SEARCH_LIMIT
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
BaseAlloyIndexer()
           
 
Method Summary
protected  void doDelete(Object obj)
           
protected  void doReindex(Object obj)
           
protected  void doReindex(String[] ids)
           
protected  void doReindex(String className, long classPK)
           
 AlloyServiceInvoker getAlloyServiceInvoker()
           
 String[] getClassNames()
           
 String getPortletId()
           
protected  String getPortletId(SearchContext searchContext)
           
 void postProcessContextQuery(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void reindexModels(long companyId)
           
protected  void reindexModels(long companyId, int start, int end)
           
protected  void setAlloyServiceInvoker(AlloyServiceInvoker alloyServiceInvoker)
           
protected  void setClassName(String className)
           
protected  void setPortletId(String portletId)
           
 
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
 

Field Detail

alloyServiceInvoker

protected AlloyServiceInvoker alloyServiceInvoker

classNames

protected String[] classNames

portletId

protected String portletId
Constructor Detail

BaseAlloyIndexer

public BaseAlloyIndexer()
Method Detail

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)

Liferay 6.2-ce-ga5