Liferay 7.0-ce-b8 portal-impl

com.liferay.portlet.trash.util
Class TrashIndexer

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
      extended by com.liferay.portlet.trash.util.TrashIndexer
All Implemented Interfaces:
com.liferay.portal.kernel.search.Indexer<com.liferay.trash.kernel.model.TrashEntry>

public class TrashIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>


Field Summary
static String CLASS_NAME
           
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
TrashIndexer()
           
 
Method Summary
protected  void doDelete(com.liferay.trash.kernel.model.TrashEntry trashEntry)
           
protected  com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.trash.kernel.model.TrashEntry trashEntry)
           
protected  String doGetSortField(String orderByCol)
           
protected  com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse)
           
protected  void doReindex(String[] ids)
           
protected  void doReindex(String className, long classPK)
           
protected  void doReindex(com.liferay.trash.kernel.model.TrashEntry trashEntry)
           
 String getClassName()
           
 com.liferay.portal.kernel.search.BooleanQuery getFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
           
 boolean hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, String entryClassName, long entryClassPK, String actionId)
           
 void postProcessSearchQuery(com.liferay.portal.kernel.search.BooleanQuery searchQuery, com.liferay.portal.kernel.search.filter.BooleanFilter fullQueryBooleanFilter, com.liferay.portal.kernel.search.SearchContext searchContext)
           
protected  void processTrashHandlerExcludeQuery(com.liferay.portal.kernel.search.SearchContext searchContext, com.liferay.portal.kernel.search.filter.BooleanFilter fullQueryBooleanFilter, com.liferay.portal.kernel.trash.TrashHandler trashHandler)
          Deprecated. As of 7.0.0, added strictly to support backwards compatibility of TrashHandler.getExcludeQuery(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, doPostProcessSearchQuery, doSearch, equals, getBaseModelDocument, getBaseModelDocument, getClassName, getClassNames, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getExpandoFieldName, getFacetBooleanFilter, getIndexerPostProcessors, getLocale, getLocalizedCountryNames, getPortletId, getPortletId, getSearchClassNames, getSearchEngineId, getSiteGroup, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, getSummary, hashCode, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isStagingGroup, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessContextBooleanFilter, postProcessContextQuery, postProcessFullQuery, 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

TrashIndexer

public TrashIndexer()
Method Detail

getClassName

public String getClassName()

getFullQuery

public com.liferay.portal.kernel.search.BooleanQuery getFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
                                                           throws com.liferay.portal.kernel.search.SearchException
Specified by:
getFullQuery in interface com.liferay.portal.kernel.search.Indexer<com.liferay.trash.kernel.model.TrashEntry>
Overrides:
getFullQuery in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
Throws:
com.liferay.portal.kernel.search.SearchException

hasPermission

public boolean hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
                             String entryClassName,
                             long entryClassPK,
                             String actionId)
                      throws Exception
Specified by:
hasPermission in interface com.liferay.portal.kernel.search.Indexer<com.liferay.trash.kernel.model.TrashEntry>
Overrides:
hasPermission in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
Throws:
Exception

postProcessSearchQuery

public void postProcessSearchQuery(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
                                   com.liferay.portal.kernel.search.filter.BooleanFilter fullQueryBooleanFilter,
                                   com.liferay.portal.kernel.search.SearchContext searchContext)
                            throws Exception
Specified by:
postProcessSearchQuery in interface com.liferay.portal.kernel.search.Indexer<com.liferay.trash.kernel.model.TrashEntry>
Overrides:
postProcessSearchQuery in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
Throws:
Exception

doDelete

protected void doDelete(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Specified by:
doDelete in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>

doGetDocument

protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Specified by:
doGetDocument in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>

doGetSortField

protected String doGetSortField(String orderByCol)
Overrides:
doGetSortField in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>

doGetSummary

protected com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document,
                                                                Locale locale,
                                                                String snippet,
                                                                PortletRequest portletRequest,
                                                                PortletResponse portletResponse)
Specified by:
doGetSummary in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>

doReindex

protected void doReindex(String className,
                         long classPK)
Specified by:
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>

doReindex

protected void doReindex(String[] ids)
Specified by:
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>

doReindex

protected void doReindex(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Specified by:
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>

processTrashHandlerExcludeQuery

@Deprecated
protected void processTrashHandlerExcludeQuery(com.liferay.portal.kernel.search.SearchContext searchContext,
                                                          com.liferay.portal.kernel.search.filter.BooleanFilter fullQueryBooleanFilter,
                                                          com.liferay.portal.kernel.trash.TrashHandler trashHandler)
Deprecated. As of 7.0.0, added strictly to support backwards compatibility of TrashHandler.getExcludeQuery(SearchContext)


Liferay 7.0-ce-b8 portal-impl