Liferay 7.0-ce-m3

com.liferay.portlet.assetpublisher.util
Class AssetSearcher

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

public class AssetSearcher
extends BaseSearcher


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
AssetSearcher()
           
 
Method Summary
protected  void addImpossibleTerm(BooleanQuery contextQuery, String field)
           
protected  void addSearchAllCategories(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchAllTags(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchAnyCategories(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchAnyTags(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchAssetCategoryIds(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchAssetTagNames(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchKeywords(BooleanQuery searchQuery, SearchContext searchContext)
           
protected  void addSearchLayout(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchNotAllCategories(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchNotAllTags(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchNotAnyCategories(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  void addSearchNotAnyTags(BooleanQuery contextQuery, SearchContext searchContext)
           
 String[] getClassNames()
           
static Indexer getInstance()
           
protected  void postProcessFullQuery(BooleanQuery fullQuery, SearchContext searchContext)
           
 void setAssetEntryQuery(AssetEntryQuery assetEntryQuery)
           
 
Methods inherited from class com.liferay.portal.kernel.search.BaseSearcher
doDelete, doGetDocument, doGetSummary, doReindex, doReindex, doReindex, getIndexerPostProcessors, getPortletId, getPortletId, postProcessSearchQuery, registerIndexerPostProcessor
 
Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetSelectedFieldNames, addLocalizedSearchTerm, addRelatedClassNames, addRelatedEntryFields, addSearchArrayQuery, addSearchAssetCategoryTitles, addSearchClassTypeIds, addSearchDDMStruture, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addSelectedLocalizedFieldNames, addStagingGroupKeyword, addStatus, addTrashFields, createFullQuery, createLocalizedSummary, createLocalizedSummary, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetSortField, doReindexDDMStructures, doSearch, getBaseModelDocument, getBaseModelDocument, getClassName, getDatabaseCount, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getFacetQuery, getFullQuery, getLocale, getLocalizedCountryNames, getParentGroupId, getSearchEngineId, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, getSummary, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, postProcessContextQuery, processHits, reindex, reindex, reindex, reindexDDMStructures, resetFullQuery, search, search, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setSortableTextFields, setStagingAware, unregisterIndexerPostProcessor, updateFullQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetSearcher

public AssetSearcher()
Method Detail

getInstance

public static Indexer getInstance()

getClassNames

public String[] getClassNames()

setAssetEntryQuery

public void setAssetEntryQuery(AssetEntryQuery assetEntryQuery)

addImpossibleTerm

protected void addImpossibleTerm(BooleanQuery contextQuery,
                                 String field)
                          throws Exception
Throws:
Exception

addSearchAllCategories

protected void addSearchAllCategories(BooleanQuery contextQuery,
                                      SearchContext searchContext)
                               throws Exception
Throws:
Exception

addSearchAllTags

protected void addSearchAllTags(BooleanQuery contextQuery,
                                SearchContext searchContext)
                         throws Exception
Throws:
Exception

addSearchAnyCategories

protected void addSearchAnyCategories(BooleanQuery contextQuery,
                                      SearchContext searchContext)
                               throws Exception
Throws:
Exception

addSearchAnyTags

protected void addSearchAnyTags(BooleanQuery contextQuery,
                                SearchContext searchContext)
                         throws Exception
Throws:
Exception

addSearchAssetCategoryIds

protected void addSearchAssetCategoryIds(BooleanQuery contextQuery,
                                         SearchContext searchContext)
                                  throws Exception
Overrides:
addSearchAssetCategoryIds in class BaseIndexer
Throws:
Exception

addSearchAssetTagNames

protected void addSearchAssetTagNames(BooleanQuery contextQuery,
                                      SearchContext searchContext)
                               throws Exception
Overrides:
addSearchAssetTagNames in class BaseIndexer
Throws:
Exception

addSearchKeywords

protected void addSearchKeywords(BooleanQuery searchQuery,
                                 SearchContext searchContext)
                          throws Exception
Overrides:
addSearchKeywords in class BaseIndexer
Throws:
Exception

addSearchLayout

protected void addSearchLayout(BooleanQuery contextQuery,
                               SearchContext searchContext)
                        throws Exception
Overrides:
addSearchLayout in class BaseIndexer
Throws:
Exception

addSearchNotAllCategories

protected void addSearchNotAllCategories(BooleanQuery contextQuery,
                                         SearchContext searchContext)
                                  throws Exception
Throws:
Exception

addSearchNotAllTags

protected void addSearchNotAllTags(BooleanQuery contextQuery,
                                   SearchContext searchContext)
                            throws Exception
Throws:
Exception

addSearchNotAnyCategories

protected void addSearchNotAnyCategories(BooleanQuery contextQuery,
                                         SearchContext searchContext)
                                  throws Exception
Throws:
Exception

addSearchNotAnyTags

protected void addSearchNotAnyTags(BooleanQuery contextQuery,
                                   SearchContext searchContext)
                            throws Exception
Throws:
Exception

postProcessFullQuery

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

Liferay 7.0-ce-m3