Liferay 6.1.2-ce-ga3

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
addLocalizedSearchTerm, addSearchArrayQuery, addSearchAssetCategoryIds, addSearchAssetCategoryTitles, addSearchAssetTagNames, addSearchDDMStruture, addSearchEntryClassNames, addSearchExpando, addSearchGroupId, addSearchKeywords, addSearchLocalizedTerm, addSearchTerm, addStagingGroupKeyword, createFullQuery, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetDocument, doGetSortField, doGetSummary, filterSearch, getBaseModelDocument, getClassName, getDocument, getFacetQuery, getFullQuery, getIndexerPostProcessors, getParentGroupId, getSearchEngineId, getSortField, getSummary, hasPermission, isFilterSearch, isIndexerEnabled, isPermissionAware, isStagingAware, populateAddresses, postProcessFullQuery, postProcessSearchQuery, registerIndexerPostProcessor, reindex, reindex, reindex, search, 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.1.2-ce-ga3