Liferay 6.2-ce-ga5

com.liferay.portal.kernel.search
Class DummyIndexer

java.lang.Object
  extended by com.liferay.portal.kernel.search.DummyIndexer
All Implemented Interfaces:
Indexer

public class DummyIndexer
extends Object
implements Indexer


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
DummyIndexer()
           
 
Method Summary
 void addRelatedEntryFields(Document document, Object obj)
           
 void delete(long companyId, String uid)
           
 void delete(Object obj)
           
 String[] getClassNames()
           
 Document getDocument(Object obj)
           
 BooleanQuery getFacetQuery(String className, SearchContext searchContext)
           
 BooleanQuery getFullQuery(SearchContext searchContext)
           
 IndexerPostProcessor[] getIndexerPostProcessors()
           
 String getPortletId()
           
 String getSearchEngineId()
           
 String getSortField(String orderByCol)
           
 String getSortField(String orderByCol, int sortType)
           
 Summary getSummary(Document document, Locale locale, String snippet, PortletURL portletURL)
           
 boolean hasPermission(PermissionChecker permissionChecker, String entryClassName, long entryClassPK, String actionId)
           
 boolean isFilterSearch()
           
 boolean isPermissionAware()
           
 boolean isStagingAware()
           
 boolean isVisible(long classPK, int status)
           
 boolean isVisibleRelatedEntry(long classPK, int status)
           
 void postProcessContextQuery(BooleanQuery contextQuery, SearchContext searchContext)
           
 void postProcessSearchQuery(BooleanQuery searchQuery, SearchContext searchContext)
           
 void registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
           
 void reindex(Object obj)
           
 void reindex(String[] ids)
           
 void reindex(String className, long classPK)
           
 void reindexDDMStructures(List<Long> ddmStructureIds)
           
 Hits search(SearchContext searchContext)
           
 void unregisterIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyIndexer

public DummyIndexer()
Method Detail

addRelatedEntryFields

public void addRelatedEntryFields(Document document,
                                  Object obj)
Specified by:
addRelatedEntryFields in interface Indexer

delete

public void delete(long companyId,
                   String uid)
Specified by:
delete in interface Indexer

delete

public void delete(Object obj)
Specified by:
delete in interface Indexer

getClassNames

public String[] getClassNames()
Specified by:
getClassNames in interface Indexer

getDocument

public Document getDocument(Object obj)
Specified by:
getDocument in interface Indexer

getFacetQuery

public BooleanQuery getFacetQuery(String className,
                                  SearchContext searchContext)
Specified by:
getFacetQuery in interface Indexer

getFullQuery

public BooleanQuery getFullQuery(SearchContext searchContext)
Specified by:
getFullQuery in interface Indexer

getIndexerPostProcessors

public IndexerPostProcessor[] getIndexerPostProcessors()
Specified by:
getIndexerPostProcessors in interface Indexer

getPortletId

public String getPortletId()
Specified by:
getPortletId in interface Indexer

getSearchEngineId

public String getSearchEngineId()
Specified by:
getSearchEngineId in interface Indexer

getSortField

public String getSortField(String orderByCol)
Specified by:
getSortField in interface Indexer

getSortField

public String getSortField(String orderByCol,
                           int sortType)
Specified by:
getSortField in interface Indexer

getSummary

public Summary getSummary(Document document,
                          Locale locale,
                          String snippet,
                          PortletURL portletURL)
Specified by:
getSummary in interface Indexer

hasPermission

public boolean hasPermission(PermissionChecker permissionChecker,
                             String entryClassName,
                             long entryClassPK,
                             String actionId)
Specified by:
hasPermission in interface Indexer

isFilterSearch

public boolean isFilterSearch()
Specified by:
isFilterSearch in interface Indexer

isPermissionAware

public boolean isPermissionAware()
Specified by:
isPermissionAware in interface Indexer

isStagingAware

public boolean isStagingAware()
Specified by:
isStagingAware in interface Indexer

isVisible

public boolean isVisible(long classPK,
                         int status)
                  throws Exception
Specified by:
isVisible in interface Indexer
Throws:
Exception

isVisibleRelatedEntry

public boolean isVisibleRelatedEntry(long classPK,
                                     int status)
                              throws Exception
Specified by:
isVisibleRelatedEntry in interface Indexer
Throws:
Exception

postProcessContextQuery

public void postProcessContextQuery(BooleanQuery contextQuery,
                                    SearchContext searchContext)
Specified by:
postProcessContextQuery in interface Indexer

postProcessSearchQuery

public void postProcessSearchQuery(BooleanQuery searchQuery,
                                   SearchContext searchContext)
Specified by:
postProcessSearchQuery in interface Indexer

registerIndexerPostProcessor

public void registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
Specified by:
registerIndexerPostProcessor in interface Indexer

reindex

public void reindex(Object obj)
Specified by:
reindex in interface Indexer

reindex

public void reindex(String className,
                    long classPK)
Specified by:
reindex in interface Indexer

reindex

public void reindex(String[] ids)
Specified by:
reindex in interface Indexer

reindexDDMStructures

public void reindexDDMStructures(List<Long> ddmStructureIds)
Specified by:
reindexDDMStructures in interface Indexer

search

public Hits search(SearchContext searchContext)
Specified by:
search in interface Indexer

unregisterIndexerPostProcessor

public void unregisterIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
Specified by:
unregisterIndexerPostProcessor in interface Indexer

Liferay 6.2-ce-ga5