Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.util
Class DLFolderIndexer

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer<DLFolder>
      extended by com.liferay.portlet.documentlibrary.util.DLFolderIndexer
All Implemented Interfaces:
FolderIndexer, Indexer<DLFolder>

public class DLFolderIndexer
extends BaseIndexer<DLFolder>
implements FolderIndexer


Field Summary
static String CLASS_NAME
           
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
DLFolderIndexer()
           
 
Method Summary
protected  void doDelete(DLFolder dlFolder)
           
protected  Document doGetDocument(DLFolder dlFolder)
           
protected  Summary doGetSummary(Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse)
           
protected  void doReindex(DLFolder dlFolder)
           
protected  void doReindex(String[] ids)
           
protected  void doReindex(String className, long classPK)
           
 String getClassName()
           
 String[] getFolderClassNames()
           
 boolean hasPermission(PermissionChecker permissionChecker, String entryClassName, long entryClassPK, String actionId)
           
 void postProcessContextBooleanFilter(BooleanFilter contextBooleanFilter, SearchContext searchContext)
           
protected  void reindexFolders(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, 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

DLFolderIndexer

public DLFolderIndexer()
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface Indexer<DLFolder>

getFolderClassNames

public String[] getFolderClassNames()
Specified by:
getFolderClassNames in interface FolderIndexer

hasPermission

public boolean hasPermission(PermissionChecker permissionChecker,
                             String entryClassName,
                             long entryClassPK,
                             String actionId)
                      throws Exception
Specified by:
hasPermission in interface Indexer<DLFolder>
Overrides:
hasPermission in class BaseIndexer<DLFolder>
Throws:
Exception

postProcessContextBooleanFilter

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

doDelete

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

doGetDocument

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

doGetSummary

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

doReindex

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

doReindex

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

doReindex

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

reindexFolders

protected void reindexFolders(long companyId)
                       throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4