public class CalendarIndexer extends BaseIndexer<Calendar>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME |
DEFAULT_INTERVAL
Constructor and Description |
---|
CalendarIndexer() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDelete(Calendar calendar) |
protected Document |
doGetDocument(Calendar calendar) |
protected Summary |
doGetSummary(Document document,
java.util.Locale locale,
java.lang.String snippet,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
protected void |
doReindex(Calendar calendar) |
protected void |
doReindex(java.lang.String[] ids) |
protected void |
doReindex(java.lang.String className,
long classPK) |
java.lang.String |
getClassName() |
boolean |
hasPermission(PermissionChecker permissionChecker,
java.lang.String entryClassName,
long entryClassPK,
java.lang.String actionId) |
void |
postProcessSearchQuery(BooleanQuery searchQuery,
BooleanFilter fullQueryBooleanFilter,
SearchContext searchContext) |
protected void |
reindexCalendarBookings(Calendar calendar) |
protected void |
reindexCalendars(long companyId) |
protected void |
setCalendarBookingLocalService(CalendarBookingLocalService calendarBookingLocalService) |
protected void |
setCalendarLocalService(CalendarLocalService calendarLocalService) |
protected void |
setIndexerRegistry(IndexerRegistry indexerRegistry) |
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, getExpandoQueryContributors, 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, postProcessContextBooleanFilter, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessor
public java.lang.String getClassName()
public boolean hasPermission(PermissionChecker permissionChecker, java.lang.String entryClassName, long entryClassPK, java.lang.String actionId) throws java.lang.Exception
hasPermission
in interface Indexer<Calendar>
hasPermission
in class BaseIndexer<Calendar>
java.lang.Exception
public void postProcessSearchQuery(BooleanQuery searchQuery, BooleanFilter fullQueryBooleanFilter, SearchContext searchContext) throws java.lang.Exception
postProcessSearchQuery
in interface Indexer<Calendar>
postProcessSearchQuery
in class BaseIndexer<Calendar>
java.lang.Exception
protected void doDelete(Calendar calendar) throws java.lang.Exception
doDelete
in class BaseIndexer<Calendar>
java.lang.Exception
protected Document doGetDocument(Calendar calendar) throws java.lang.Exception
doGetDocument
in class BaseIndexer<Calendar>
java.lang.Exception
protected Summary doGetSummary(Document document, java.util.Locale locale, java.lang.String snippet, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
doGetSummary
in class BaseIndexer<Calendar>
protected void doReindex(Calendar calendar) throws java.lang.Exception
doReindex
in class BaseIndexer<Calendar>
java.lang.Exception
protected void doReindex(java.lang.String className, long classPK) throws java.lang.Exception
doReindex
in class BaseIndexer<Calendar>
java.lang.Exception
protected void doReindex(java.lang.String[] ids) throws java.lang.Exception
doReindex
in class BaseIndexer<Calendar>
java.lang.Exception
protected void reindexCalendarBookings(Calendar calendar) throws SearchException
SearchException
protected void reindexCalendars(long companyId) throws PortalException
PortalException
protected void setCalendarBookingLocalService(CalendarBookingLocalService calendarBookingLocalService)
protected void setCalendarLocalService(CalendarLocalService calendarLocalService)
protected void setIndexerRegistry(IndexerRegistry indexerRegistry)