com.liferay.trash.internal.search.TrashIndexer
@Deprecated
public class TrashIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
Deprecated.
|
Constructor and Description |
---|
TrashIndexer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doDelete(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Deprecated.
|
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Deprecated.
|
protected String |
doGetSortField(String orderByCol)
Deprecated.
|
protected com.liferay.portal.kernel.search.Summary |
doGetSummary(com.liferay.portal.kernel.search.Document document,
Locale locale,
String snippet,
PortletRequest portletRequest,
PortletResponse portletResponse)
Deprecated.
|
protected void |
doReindex(String[] ids)
Deprecated.
|
protected void |
doReindex(String className,
long classPK)
Deprecated.
|
protected void |
doReindex(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Deprecated.
|
String |
getClassName()
Deprecated.
|
com.liferay.portal.kernel.search.BooleanQuery |
getFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
Deprecated.
|
boolean |
hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
String entryClassName,
long entryClassPK,
String actionId)
Deprecated.
|
void |
postProcessSearchQuery(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
com.liferay.portal.kernel.search.filter.BooleanFilter fullQueryBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
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 Wilberforce (7.0.x), added strictly to support
backwards compatibility of
TrashHandler.getExcludeQuery(SearchContext) |
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, addLocalizedField, 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, getExpandoQueryContributors, 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
public 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.trash.kernel.model.TrashEntry>
getFullQuery
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
com.liferay.portal.kernel.search.SearchException
public boolean hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, String entryClassName, long entryClassPK, String actionId) throws Exception
hasPermission
in interface com.liferay.portal.kernel.search.Indexer<com.liferay.trash.kernel.model.TrashEntry>
hasPermission
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
Exception
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
postProcessSearchQuery
in interface com.liferay.portal.kernel.search.Indexer<com.liferay.trash.kernel.model.TrashEntry>
postProcessSearchQuery
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
Exception
protected void doDelete(com.liferay.trash.kernel.model.TrashEntry trashEntry)
doDelete
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.trash.kernel.model.TrashEntry trashEntry)
doGetDocument
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
protected String doGetSortField(String orderByCol)
doGetSortField
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
protected com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse)
doGetSummary
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
protected void doReindex(String className, long classPK)
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
protected void doReindex(String[] ids)
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.model.TrashEntry>
protected void doReindex(com.liferay.trash.kernel.model.TrashEntry trashEntry)
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.trash.kernel.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)