com.liferay.portlet.blogs.util
Class BlogsIndexer
java.lang.Object
com.liferay.portal.kernel.search.BaseIndexer
com.liferay.portlet.blogs.util.BlogsIndexer
- All Implemented Interfaces:
- Indexer
public class BlogsIndexer
- extends BaseIndexer
| Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer |
addLocalizedSearchTerm, addRelatedClassNames, addSearchArrayQuery, addSearchAssetCategoryIds, addSearchAssetCategoryTitles, addSearchAssetTagNames, addSearchDDMStruture, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, addSearchKeywords, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addStagingGroupKeyword, addTrashFields, createFullQuery, createLocalizedSummary, createLocalizedSummary, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetSortField, filterSearch, getBaseModelDocument, getBaseModelDocument, getClassName, getDocument, getFacetQuery, getFullQuery, getIndexerPostProcessors, getLocalizedCountryNames, getParentGroupId, getSearchEngineId, getSiteGroupId, getSnippetLocale, getSortField, getSummary, isFilterSearch, isIndexerEnabled, isPermissionAware, isStagingAware, populateAddresses, postProcessFullQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, search, setFilterSearch, setIndexerEnabled, setPermissionAware, 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
BlogsIndexer
public BlogsIndexer()
addRelatedEntryFields
public void addRelatedEntryFields(Document document,
Object obj)
- Specified by:
addRelatedEntryFields in interface Indexer- Overrides:
addRelatedEntryFields in class BaseIndexer
getClassNames
public String[] getClassNames()
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
postProcessContextQuery
public void postProcessContextQuery(BooleanQuery contextQuery,
SearchContext searchContext)
throws Exception
- Specified by:
postProcessContextQuery in interface Indexer- Overrides:
postProcessContextQuery in class BaseIndexer
- Throws:
Exception
doDelete
protected void doDelete(Object obj)
throws Exception
- Specified by:
doDelete in class BaseIndexer
- Throws:
Exception
doGetDocument
protected Document doGetDocument(Object obj)
throws Exception
- Specified by:
doGetDocument in class BaseIndexer
- Throws:
Exception
doGetSummary
protected Summary doGetSummary(Document document,
Locale locale,
String snippet,
PortletURL portletURL)
- Specified by:
doGetSummary in class BaseIndexer
doReindex
protected void doReindex(Object obj)
throws Exception
- Specified by:
doReindex in class BaseIndexer
- Throws:
Exception
doReindex
protected void doReindex(String className,
long classPK)
throws Exception
- Specified by:
doReindex in class BaseIndexer
- Throws:
Exception
doReindex
protected void doReindex(String[] ids)
throws Exception
- Specified by:
doReindex in class BaseIndexer
- Throws:
Exception
getPortletId
protected String getPortletId(SearchContext searchContext)
- Specified by:
getPortletId in class BaseIndexer
reindexEntries
protected void reindexEntries(long companyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException