Liferay 7.0-ce-b4

com.liferay.portlet.usersadmin.util
Class OrganizationIndexer

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer<Organization>
      extended by com.liferay.portlet.usersadmin.util.OrganizationIndexer
All Implemented Interfaces:
Indexer<Organization>

public class OrganizationIndexer
extends BaseIndexer<Organization>


Field Summary
static String CLASS_NAME
           
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
OrganizationIndexer()
           
 
Method Summary
protected  void doDelete(Organization organization)
           
protected  Document doGetDocument(Organization organization)
           
protected  String doGetSortField(String orderByCol)
           
protected  Summary doGetSummary(Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse)
           
protected  void doReindex(Organization organization)
           
protected  void doReindex(String[] ids)
           
protected  void doReindex(String className, long classPK)
           
 String getClassName()
           
 void postProcessContextBooleanFilter(BooleanFilter contextBooleanFilter, SearchContext searchContext)
           
 void postProcessSearchQuery(BooleanQuery searchQuery, BooleanFilter fullQueryBooleanFilter, SearchContext searchContext)
           
protected  void reindexOrganizations(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, 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, hasPermission, 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME
Constructor Detail

OrganizationIndexer

public OrganizationIndexer()
Method Detail

getClassName

public String getClassName()

postProcessContextBooleanFilter

public void postProcessContextBooleanFilter(BooleanFilter contextBooleanFilter,
                                            SearchContext searchContext)
                                     throws Exception
Specified by:
postProcessContextBooleanFilter in interface Indexer<Organization>
Overrides:
postProcessContextBooleanFilter in class BaseIndexer<Organization>
Throws:
Exception

postProcessSearchQuery

public void postProcessSearchQuery(BooleanQuery searchQuery,
                                   BooleanFilter fullQueryBooleanFilter,
                                   SearchContext searchContext)
                            throws Exception
Specified by:
postProcessSearchQuery in interface Indexer<Organization>
Overrides:
postProcessSearchQuery in class BaseIndexer<Organization>
Throws:
Exception

doDelete

protected void doDelete(Organization organization)
                 throws Exception
Specified by:
doDelete in class BaseIndexer<Organization>
Throws:
Exception

doGetDocument

protected Document doGetDocument(Organization organization)
                          throws Exception
Specified by:
doGetDocument in class BaseIndexer<Organization>
Throws:
Exception

doGetSortField

protected String doGetSortField(String orderByCol)
Overrides:
doGetSortField in class BaseIndexer<Organization>

doGetSummary

protected Summary doGetSummary(Document document,
                               Locale locale,
                               String snippet,
                               PortletRequest portletRequest,
                               PortletResponse portletResponse)
Specified by:
doGetSummary in class BaseIndexer<Organization>

doReindex

protected void doReindex(Organization organization)
                  throws Exception
Specified by:
doReindex in class BaseIndexer<Organization>
Throws:
Exception

doReindex

protected void doReindex(String className,
                         long classPK)
                  throws Exception
Specified by:
doReindex in class BaseIndexer<Organization>
Throws:
Exception

doReindex

protected void doReindex(String[] ids)
                  throws Exception
Specified by:
doReindex in class BaseIndexer<Organization>
Throws:
Exception

reindexOrganizations

protected void reindexOrganizations(long companyId)
                             throws Exception
Throws:
Exception

Liferay 7.0-ce-b4