Liferay 6.1.2-ce-ga3

com.liferay.portlet.assetpublisher.util
Class AssetIndexer

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer
      extended by com.liferay.portlet.assetpublisher.util.AssetIndexer
All Implemented Interfaces:
Indexer

public class AssetIndexer
extends BaseIndexer


Field Summary
static String[] CLASS_NAMES
           
static String PORTLET_ID
           
 
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
AssetIndexer()
           
 
Method Summary
protected  void doDelete(Object obj)
           
protected  Document doGetDocument(Object obj)
           
protected  Summary doGetSummary(Document document, Locale locale, String snippet, PortletURL portletURL)
           
protected  void doReindex(Object obj)
           
protected  void doReindex(String[] ids)
           
protected  void doReindex(String className, long classPK)
           
 String[] getClassNames()
           
 String getPortletId()
           
protected  String getPortletId(SearchContext searchContext)
           
 void postProcessSearchQuery(BooleanQuery searchQuery, SearchContext searchContext)
           
 
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, doGetSortField, filterSearch, getBaseModelDocument, getClassName, getDocument, getFacetQuery, getFullQuery, getIndexerPostProcessors, getParentGroupId, getSearchEngineId, getSortField, getSummary, hasPermission, isFilterSearch, isIndexerEnabled, isPermissionAware, isStagingAware, populateAddresses, postProcessContextQuery, postProcessFullQuery, 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

CLASS_NAMES

public static final String[] CLASS_NAMES

PORTLET_ID

public static final String PORTLET_ID
See Also:
Constant Field Values
Constructor Detail

AssetIndexer

public AssetIndexer()
Method Detail

getClassNames

public String[] getClassNames()

getPortletId

public String getPortletId()

postProcessSearchQuery

public void postProcessSearchQuery(BooleanQuery searchQuery,
                                   SearchContext searchContext)
                            throws Exception
Specified by:
postProcessSearchQuery in interface Indexer
Overrides:
postProcessSearchQuery in class BaseIndexer
Throws:
Exception

doDelete

protected void doDelete(Object obj)
Specified by:
doDelete in class BaseIndexer

doGetDocument

protected Document doGetDocument(Object obj)
Specified by:
doGetDocument in class BaseIndexer

doGetSummary

protected Summary doGetSummary(Document document,
                               Locale locale,
                               String snippet,
                               PortletURL portletURL)
Specified by:
doGetSummary in class BaseIndexer

doReindex

protected void doReindex(Object obj)
Specified by:
doReindex in class BaseIndexer

doReindex

protected void doReindex(String className,
                         long classPK)
Specified by:
doReindex in class BaseIndexer

doReindex

protected void doReindex(String[] ids)
Specified by:
doReindex in class BaseIndexer

getPortletId

protected String getPortletId(SearchContext searchContext)
Specified by:
getPortletId in class BaseIndexer

Liferay 6.1.2-ce-ga3