Liferay 6.2-ce-ga5

com.liferay.portal.kernel.search
Class IndexWriterProxyBean

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.proxy.BaseMultiDestinationProxyBean
      extended by com.liferay.portal.kernel.search.IndexWriterProxyBean
All Implemented Interfaces:
IndexWriter, SpellCheckIndexWriter

public class IndexWriterProxyBean
extends BaseMultiDestinationProxyBean
implements IndexWriter


Constructor Summary
IndexWriterProxyBean()
           
 
Method Summary
 void addDocument(SearchContext searchContext, Document document)
           
 void addDocuments(SearchContext searchContext, Collection<Document> documents)
           
 void clearQuerySuggestionDictionaryIndexes(SearchContext searchContext)
           
 void clearSpellCheckerDictionaryIndexes(SearchContext searchContext)
           
 void deleteDocument(SearchContext searchContext, String uid)
           
 void deleteDocuments(SearchContext searchContext, Collection<String> uids)
           
 void deletePortletDocuments(SearchContext searchContext, String portletId)
           
 String getDestinationName(ProxyRequest proxyRequest)
           
 void indexKeyword(SearchContext searchContext, float weight, String keywordType)
           
 void indexQuerySuggestionDictionaries(SearchContext searchContext)
           
 void indexQuerySuggestionDictionary(SearchContext searchContext)
           
 void indexSpellCheckerDictionaries(SearchContext searchContext)
           
 void indexSpellCheckerDictionary(SearchContext searchContext)
           
 void updateDocument(SearchContext searchContext, Document document)
           
 void updateDocuments(SearchContext searchContext, Collection<Document> documents)
           
 
Methods inherited from class com.liferay.portal.kernel.messaging.proxy.BaseMultiDestinationProxyBean
buildMessage, send, setMessageSender, setSynchronousMessageSender, synchronousSend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexWriterProxyBean

public IndexWriterProxyBean()
Method Detail

addDocument

public void addDocument(SearchContext searchContext,
                        Document document)
Specified by:
addDocument in interface IndexWriter

addDocuments

public void addDocuments(SearchContext searchContext,
                         Collection<Document> documents)
Specified by:
addDocuments in interface IndexWriter

clearQuerySuggestionDictionaryIndexes

public void clearQuerySuggestionDictionaryIndexes(SearchContext searchContext)
Specified by:
clearQuerySuggestionDictionaryIndexes in interface SpellCheckIndexWriter

clearSpellCheckerDictionaryIndexes

public void clearSpellCheckerDictionaryIndexes(SearchContext searchContext)
Specified by:
clearSpellCheckerDictionaryIndexes in interface SpellCheckIndexWriter

deleteDocument

public void deleteDocument(SearchContext searchContext,
                           String uid)
Specified by:
deleteDocument in interface IndexWriter

deleteDocuments

public void deleteDocuments(SearchContext searchContext,
                            Collection<String> uids)
Specified by:
deleteDocuments in interface IndexWriter

deletePortletDocuments

public void deletePortletDocuments(SearchContext searchContext,
                                   String portletId)
Specified by:
deletePortletDocuments in interface IndexWriter

getDestinationName

public String getDestinationName(ProxyRequest proxyRequest)
Specified by:
getDestinationName in class BaseMultiDestinationProxyBean

indexKeyword

public void indexKeyword(SearchContext searchContext,
                         float weight,
                         String keywordType)
Specified by:
indexKeyword in interface SpellCheckIndexWriter

indexQuerySuggestionDictionaries

public void indexQuerySuggestionDictionaries(SearchContext searchContext)
Specified by:
indexQuerySuggestionDictionaries in interface SpellCheckIndexWriter

indexQuerySuggestionDictionary

public void indexQuerySuggestionDictionary(SearchContext searchContext)
Specified by:
indexQuerySuggestionDictionary in interface SpellCheckIndexWriter

indexSpellCheckerDictionaries

public void indexSpellCheckerDictionaries(SearchContext searchContext)
Specified by:
indexSpellCheckerDictionaries in interface SpellCheckIndexWriter

indexSpellCheckerDictionary

public void indexSpellCheckerDictionary(SearchContext searchContext)
Specified by:
indexSpellCheckerDictionary in interface SpellCheckIndexWriter

updateDocument

public void updateDocument(SearchContext searchContext,
                           Document document)
Specified by:
updateDocument in interface IndexWriter

updateDocuments

public void updateDocuments(SearchContext searchContext,
                            Collection<Document> documents)
Specified by:
updateDocuments in interface IndexWriter

Liferay 6.2-ce-ga5