com.liferay.document.library.internal.search.DLFileEntryIndexer@Deprecated
public class DLFileEntryIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>
implements com.liferay.portal.kernel.search.RelatedEntryIndexer
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME
Deprecated.
|
| Constructor and Description |
|---|
DLFileEntryIndexer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFileEntryTypeAttributes(com.liferay.portal.kernel.search.Document document,
com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion)
Deprecated.
|
void |
addRelatedClassNames(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
Deprecated.
|
void |
addRelatedEntryFields(com.liferay.portal.kernel.search.Document document,
Object obj)
Deprecated.
|
protected com.liferay.portal.kernel.search.Summary |
createSummary(Locale locale,
com.liferay.portal.kernel.search.Document document,
String titleField,
String contentField)
Deprecated.
|
protected void |
doDelete(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry)
Deprecated.
|
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry)
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(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry)
Deprecated.
|
protected void |
doReindex(String[] ids)
Deprecated.
|
protected void |
doReindex(String className,
long classPK)
Deprecated.
|
protected String |
extractDDMContent(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion,
Locale locale)
Deprecated.
|
String |
getClassName()
Deprecated.
|
boolean |
hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
String entryClassName,
long entryClassPK,
String actionId)
Deprecated.
|
boolean |
isVisible(long classPK,
int status)
Deprecated.
|
boolean |
isVisibleRelatedEntry(long classPK,
int status)
Deprecated.
|
void |
postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
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 |
reindexFileEntries(long companyId,
long groupId,
long dataRepositoryId)
Deprecated.
|
protected void |
reindexFolders(long companyId)
Deprecated.
|
protected void |
reindexRoot(long companyId)
Deprecated.
|
void |
updateFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
Deprecated.
|
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, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getDocumentContributors, getExpandoFieldName, getExpandoQueryContributors, getFacetBooleanFilter, getFullQuery, getIndexerPostProcessors, getLocale, getLocalizedCountryNames, getSearchClassNames, getSearchEngineId, getSiteGroup, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, hashCode, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isStagingGroup, isUseSearchResultPermissionFilter, isVisible, newDocument, populateAddresses, populateMap, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessorpublic void addRelatedClassNames(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws Exception
addRelatedClassNames in interface com.liferay.portal.kernel.search.RelatedEntryIndexerExceptionpublic void addRelatedEntryFields(com.liferay.portal.kernel.search.Document document,
Object obj)
throws Exception
addRelatedEntryFields in interface com.liferay.portal.kernel.search.RelatedEntryIndexerExceptionpublic String getClassName()
getClassName in interface com.liferay.portal.kernel.search.Indexer<com.liferay.document.library.kernel.model.DLFileEntry>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.DLFileEntry>hasPermission in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>Exceptionpublic boolean isVisible(long classPK,
int status)
throws Exception
isVisible in interface com.liferay.portal.kernel.search.Indexer<com.liferay.document.library.kernel.model.DLFileEntry>isVisible in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>Exceptionpublic boolean isVisibleRelatedEntry(long classPK,
int status)
throws Exception
isVisibleRelatedEntry in interface com.liferay.portal.kernel.search.Indexer<com.liferay.document.library.kernel.model.DLFileEntry>isVisibleRelatedEntry in interface com.liferay.portal.kernel.search.RelatedEntryIndexerisVisibleRelatedEntry in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>Exceptionpublic 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.DLFileEntry>postProcessContextBooleanFilter in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>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 Exception
postProcessSearchQuery in interface com.liferay.portal.kernel.search.Indexer<com.liferay.document.library.kernel.model.DLFileEntry>postProcessSearchQuery in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>Exceptionpublic void updateFullQuery(com.liferay.portal.kernel.search.SearchContext searchContext)
updateFullQuery in interface com.liferay.portal.kernel.search.RelatedEntryIndexerprotected void addFileEntryTypeAttributes(com.liferay.portal.kernel.search.Document document,
com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected com.liferay.portal.kernel.search.Summary createSummary(Locale locale,
com.liferay.portal.kernel.search.Document document,
String titleField,
String contentField)
protected void doDelete(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry)
throws Exception
doDelete in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>Exceptionprotected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry)
throws Exception
doGetDocument in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>Exceptionprotected 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.DLFileEntry>protected void doReindex(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry)
throws Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>Exceptionprotected void doReindex(String className,
long classPK)
throws Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>Exceptionprotected void doReindex(String[] ids)
throws Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.document.library.kernel.model.DLFileEntry>Exceptionprotected String extractDDMContent(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion,
Locale locale)
throws Exception
Exceptionprotected void reindexFileEntries(long companyId,
long groupId,
long dataRepositoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void reindexFolders(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void reindexRoot(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException