public class DLFolderIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFolder>
implements com.liferay.portal.kernel.search.FolderIndexer
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
Constructor and Description |
---|
DLFolderIndexer() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDelete(com.liferay.document.library.kernel.model.DLFolder dlFolder) |
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.document.library.kernel.model.DLFolder dlFolder) |
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(com.liferay.document.library.kernel.model.DLFolder dlFolder) |
protected void |
doReindex(String[] ids) |
protected void |
doReindex(String className,
long classPK) |
String |
getClassName() |
String[] |
getFolderClassNames() |
boolean |
hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
String entryClassName,
long entryClassPK,
String actionId) |
void |
postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
reindexFolders(long companyId) |
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, doGetSortField, doPostProcessSearchQuery, doSearch, equals, getBaseModelDocument, getBaseModelDocument, getClassName, getClassNames, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getExpandoFieldName, getFacetBooleanFilter, getFullQuery, 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, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessor
public String getClassName()
getClassName
in interface com.liferay.portal.kernel.search.Indexer<com.liferay.document.library.kernel.model.DLFolder>
public String[] getFolderClassNames()
getFolderClassNames
in interface com.liferay.portal.kernel.search.FolderIndexer
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.document.library.kernel.model.DLFolder>
hasPermission
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFolder>
Exception
public void postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter, com.liferay.portal.kernel.search.SearchContext searchContext) throws Exception
postProcessContextBooleanFilter
in interface com.liferay.portal.kernel.search.Indexer<com.liferay.document.library.kernel.model.DLFolder>
postProcessContextBooleanFilter
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFolder>
Exception
protected void doDelete(com.liferay.document.library.kernel.model.DLFolder dlFolder) throws Exception
doDelete
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFolder>
Exception
protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.document.library.kernel.model.DLFolder dlFolder) throws Exception
doGetDocument
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFolder>
Exception
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.document.library.kernel.model.DLFolder>
protected void doReindex(com.liferay.document.library.kernel.model.DLFolder dlFolder) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFolder>
Exception
protected void doReindex(String className, long classPK) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFolder>
Exception
protected void doReindex(String[] ids) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFolder>
Exception
protected void reindexFolders(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException