public class DLFolderIndexer
extends com.liferay.portal.kernel.search.BaseIndexer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
CLASS_NAMES |
static java.lang.String |
PORTLET_ID |
| Constructor and Description |
|---|
DLFolderIndexer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(java.lang.Object obj) |
protected com.liferay.portal.kernel.search.Document |
doGetDocument(java.lang.Object obj) |
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.PortletURL portletURL) |
protected void |
doReindex(java.lang.Object obj) |
protected void |
doReindex(java.lang.String[] ids) |
protected void |
doReindex(java.lang.String className,
long classPK) |
java.lang.String[] |
getClassNames() |
java.lang.String |
getPortletId() |
protected java.lang.String |
getPortletId(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 |
postProcessContextQuery(com.liferay.portal.kernel.search.BooleanQuery contextQuery,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
reindexFolders(long companyId) |
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, doGetSortField, doReindexDDMStructures, doSearch, filterSearch, getBaseModelDocument, getBaseModelDocument, getClassName, getDocument, getFacetQuery, getFullQuery, getIndexerPostProcessors, getLocalizedCountryNames, getParentGroupId, getSearchEngineId, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isStagingAware, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessFullQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindexDDMStructures, search, setCommitImmediately, setFilterSearch, setIndexerEnabled, setPermissionAware, setSortableTextFields, setStagingAware, unregisterIndexerPostProcessorpublic static final java.lang.String[] CLASS_NAMES
public static final java.lang.String PORTLET_ID
public java.lang.String[] getClassNames()
public java.lang.String getPortletId()
public 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.IndexerhasPermission in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionpublic void postProcessContextQuery(com.liferay.portal.kernel.search.BooleanQuery contextQuery,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws java.lang.Exception
postProcessContextQuery in interface com.liferay.portal.kernel.search.IndexerpostProcessContextQuery in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected void doDelete(java.lang.Object obj)
throws java.lang.Exception
doDelete in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected com.liferay.portal.kernel.search.Document doGetDocument(java.lang.Object obj)
throws java.lang.Exception
doGetDocument in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document,
java.util.Locale locale,
java.lang.String snippet,
javax.portlet.PortletURL portletURL)
doGetSummary in class com.liferay.portal.kernel.search.BaseIndexerprotected void doReindex(java.lang.Object obj)
throws java.lang.Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected void doReindex(java.lang.String className,
long classPK)
throws java.lang.Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected void doReindex(java.lang.String[] ids)
throws java.lang.Exception
doReindex in class com.liferay.portal.kernel.search.BaseIndexerjava.lang.Exceptionprotected java.lang.String getPortletId(com.liferay.portal.kernel.search.SearchContext searchContext)
getPortletId in class com.liferay.portal.kernel.search.BaseIndexerprotected void reindexFolders(long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException