public class TrashIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME |
| Constructor and Description |
|---|
TrashIndexer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(com.liferay.portlet.trash.model.TrashEntry trashEntry) |
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.portlet.trash.model.TrashEntry trashEntry) |
protected java.lang.String |
doGetSortField(java.lang.String orderByCol) |
protected com.liferay.portal.kernel.search.Summary |
doGetSummary(com.liferay.portal.kernel.search.Document document,
java.util.Locale locale,
java.lang.String snippet,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
protected void |
doReindex(java.lang.String[] ids) |
protected void |
doReindex(java.lang.String className,
long classPK) |
protected void |
doReindex(com.liferay.portlet.trash.model.TrashEntry trashEntry) |
java.lang.String |
getClassName() |
com.liferay.portal.kernel.search.BooleanQuery |
getFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext) |
boolean |
hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
java.lang.String entryClassName,
long entryClassPK,
java.lang.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) |
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, unregisterIndexerPostProcessorpublic java.lang.String getClassName()
public com.liferay.portal.kernel.search.BooleanQuery getFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
throws com.liferay.portal.kernel.search.SearchException
getFullQuery in interface com.liferay.portal.kernel.search.Indexer<com.liferay.portlet.trash.model.TrashEntry>getFullQuery in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>com.liferay.portal.kernel.search.SearchExceptionpublic boolean hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
java.lang.String entryClassName,
long entryClassPK,
java.lang.String actionId)
throws java.lang.Exception
hasPermission in interface com.liferay.portal.kernel.search.Indexer<com.liferay.portlet.trash.model.TrashEntry>hasPermission in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>java.lang.Exceptionpublic 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 java.lang.Exception
postProcessSearchQuery in interface com.liferay.portal.kernel.search.Indexer<com.liferay.portlet.trash.model.TrashEntry>postProcessSearchQuery in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>java.lang.Exceptionprotected void doDelete(com.liferay.portlet.trash.model.TrashEntry trashEntry)
doDelete in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.portlet.trash.model.TrashEntry trashEntry)
doGetDocument in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>protected java.lang.String doGetSortField(java.lang.String orderByCol)
doGetSortField in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>protected com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document,
java.util.Locale locale,
java.lang.String snippet,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
doGetSummary in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>protected void doReindex(java.lang.String className,
long classPK)
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>protected void doReindex(java.lang.String[] ids)
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>protected void doReindex(com.liferay.portlet.trash.model.TrashEntry trashEntry)
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portlet.trash.model.TrashEntry>@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)
TrashHandler.getExcludeQuery(SearchContext)