com.liferay.portlet.asset.util
Class AssetCategoryIndexer
java.lang.Object
com.liferay.portal.kernel.search.BaseIndexer<AssetCategory>
com.liferay.portlet.asset.util.AssetCategoryIndexer
- All Implemented Interfaces:
- Indexer<AssetCategory>
public class AssetCategoryIndexer
- extends BaseIndexer<AssetCategory>
|
Method Summary |
protected void |
doDelete(AssetCategory assetCategory)
|
protected Document |
doGetDocument(AssetCategory assetCategory)
|
protected Summary |
doGetSummary(Document document,
Locale locale,
String snippet,
PortletRequest portletRequest,
PortletResponse portletResponse)
|
protected void |
doReindex(AssetCategory assetCategory)
|
protected void |
doReindex(String[] ids)
|
protected void |
doReindex(String className,
long classPK)
|
String |
getClassName()
|
boolean |
hasPermission(PermissionChecker permissionChecker,
String entryClassName,
long entryClassPK,
String actionId)
|
void |
postProcessContextBooleanFilter(BooleanFilter contextBooleanFilter,
SearchContext searchContext)
|
void |
postProcessSearchQuery(BooleanQuery searchQuery,
BooleanFilter fullQueryBooleanFilter,
SearchContext searchContext)
|
protected void |
reindexCategories(long companyId)
|
| Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer |
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, 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, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessor |
CLASS_NAME
public static final String CLASS_NAME
AssetCategoryIndexer
public AssetCategoryIndexer()
getClassName
public String getClassName()
hasPermission
public boolean hasPermission(PermissionChecker permissionChecker,
String entryClassName,
long entryClassPK,
String actionId)
throws Exception
- Specified by:
hasPermission in interface Indexer<AssetCategory>- Overrides:
hasPermission in class BaseIndexer<AssetCategory>
- Throws:
Exception
postProcessContextBooleanFilter
public void postProcessContextBooleanFilter(BooleanFilter contextBooleanFilter,
SearchContext searchContext)
throws Exception
- Specified by:
postProcessContextBooleanFilter in interface Indexer<AssetCategory>- Overrides:
postProcessContextBooleanFilter in class BaseIndexer<AssetCategory>
- Throws:
Exception
postProcessSearchQuery
public void postProcessSearchQuery(BooleanQuery searchQuery,
BooleanFilter fullQueryBooleanFilter,
SearchContext searchContext)
throws Exception
- Specified by:
postProcessSearchQuery in interface Indexer<AssetCategory>- Overrides:
postProcessSearchQuery in class BaseIndexer<AssetCategory>
- Throws:
Exception
doDelete
protected void doDelete(AssetCategory assetCategory)
throws Exception
- Specified by:
doDelete in class BaseIndexer<AssetCategory>
- Throws:
Exception
doGetDocument
protected Document doGetDocument(AssetCategory assetCategory)
throws Exception
- Specified by:
doGetDocument in class BaseIndexer<AssetCategory>
- Throws:
Exception
doGetSummary
protected Summary doGetSummary(Document document,
Locale locale,
String snippet,
PortletRequest portletRequest,
PortletResponse portletResponse)
- Specified by:
doGetSummary in class BaseIndexer<AssetCategory>
doReindex
protected void doReindex(AssetCategory assetCategory)
throws Exception
- Specified by:
doReindex in class BaseIndexer<AssetCategory>
- Throws:
Exception
doReindex
protected void doReindex(String className,
long classPK)
throws Exception
- Specified by:
doReindex in class BaseIndexer<AssetCategory>
- Throws:
Exception
doReindex
protected void doReindex(String[] ids)
throws Exception
- Specified by:
doReindex in class BaseIndexer<AssetCategory>
- Throws:
Exception
reindexCategories
protected void reindexCategories(long companyId)
throws PortalException
- Throws:
PortalException