com.liferay.portlet.trash.util
Class TrashIndexer
java.lang.Object
com.liferay.portal.kernel.search.BaseIndexer
com.liferay.portlet.trash.util.TrashIndexer
- All Implemented Interfaces:
- Indexer
public class TrashIndexer
- extends BaseIndexer
Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer |
addAssetFields, addLocalizedSearchTerm, addRelatedClassNames, addRelatedEntryFields, addSearchArrayQuery, addSearchAssetCategoryIds, addSearchAssetCategoryTitles, addSearchAssetTagNames, addSearchClassTypeIds, addSearchDDMStruture, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, addSearchKeywords, addSearchLayout, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addStagingGroupKeyword, addStatus, addTrashFields, createFullQuery, createLocalizedSummary, createLocalizedSummary, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doReindexDDMStructures, doSearch, filterSearch, getBaseModelDocument, getBaseModelDocument, getClassName, getDocument, getFacetQuery, getIndexerPostProcessors, getLocalizedCountryNames, getParentGroupId, getSearchEngineId, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isStagingAware, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessContextQuery, postProcessFullQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindexDDMStructures, search, setCommitImmediately, setFilterSearch, setIndexerEnabled, setPermissionAware, setSortableTextFields, setStagingAware, unregisterIndexerPostProcessor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAMES
public static final String[] CLASS_NAMES
PORTLET_ID
public static final String PORTLET_ID
- See Also:
- Constant Field Values
TrashIndexer
public TrashIndexer()
getClassNames
public String[] getClassNames()
getFullQuery
public BooleanQuery getFullQuery(SearchContext searchContext)
throws SearchException
- Specified by:
getFullQuery
in interface Indexer
- Overrides:
getFullQuery
in class BaseIndexer
- Throws:
SearchException
getPortletId
public String getPortletId()
hasPermission
public boolean hasPermission(PermissionChecker permissionChecker,
String entryClassName,
long entryClassPK,
String actionId)
throws Exception
- Specified by:
hasPermission
in interface Indexer
- Overrides:
hasPermission
in class BaseIndexer
- Throws:
Exception
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
doGetSortField
protected String doGetSortField(String orderByCol)
- Overrides:
doGetSortField
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