Liferay 7.0-ce-b4

com.liferay.portal.plugin
Class PluginPackageIndexer

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer<PluginPackage>
      extended by com.liferay.portal.plugin.PluginPackageIndexer
All Implemented Interfaces:
Indexer<PluginPackage>

public class PluginPackageIndexer
extends BaseIndexer<PluginPackage>


Field Summary
static String CLASS_NAME
           
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
PluginPackageIndexer()
           
 
Method Summary
protected  void doDelete(PluginPackage pluginPackage)
           
protected  Document doGetDocument(PluginPackage pluginPackage)
           
protected  Summary doGetSummary(Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse)
           
protected  void doReindex(PluginPackage pluginPackage)
           
protected  void doReindex(String[] ids)
           
protected  void doReindex(String className, long classPK)
           
 String getClassName()
           
protected  void postProcessFullQuery(BooleanQuery fullQuery, SearchContext searchContext)
           
 
Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, 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, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isStagingGroup, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessContextBooleanFilter, postProcessContextQuery, postProcessSearchQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME
Constructor Detail

PluginPackageIndexer

public PluginPackageIndexer()
Method Detail

getClassName

public String getClassName()

doDelete

protected void doDelete(PluginPackage pluginPackage)
                 throws Exception
Specified by:
doDelete in class BaseIndexer<PluginPackage>
Throws:
Exception

doGetDocument

protected Document doGetDocument(PluginPackage pluginPackage)
                          throws Exception
Specified by:
doGetDocument in class BaseIndexer<PluginPackage>
Throws:
Exception

doGetSummary

protected Summary doGetSummary(Document document,
                               Locale locale,
                               String snippet,
                               PortletRequest portletRequest,
                               PortletResponse portletResponse)
Specified by:
doGetSummary in class BaseIndexer<PluginPackage>

doReindex

protected void doReindex(PluginPackage pluginPackage)
                  throws Exception
Specified by:
doReindex in class BaseIndexer<PluginPackage>
Throws:
Exception

doReindex

protected void doReindex(String className,
                         long classPK)
                  throws Exception
Specified by:
doReindex in class BaseIndexer<PluginPackage>
Throws:
Exception

doReindex

protected void doReindex(String[] ids)
                  throws Exception
Specified by:
doReindex in class BaseIndexer<PluginPackage>
Throws:
Exception

postProcessFullQuery

protected void postProcessFullQuery(BooleanQuery fullQuery,
                                    SearchContext searchContext)
                             throws Exception
Overrides:
postProcessFullQuery in class BaseIndexer<PluginPackage>
Throws:
Exception

Liferay 7.0-ce-b4