Liferay 6.1.2-ce-ga3

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

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 deleteDocument(SearchContext searchContext, String uid)
           
 void deleteDocuments(SearchContext searchContext, Collection<String> uids)
           
 void deletePortletDocuments(SearchContext searchContext, String portletId)
           
 String getDestinationName(ProxyRequest proxyRequest)
           
 void updateDocument(SearchContext searchContext, Document document)
           
 void updateDocuments(SearchContext searchContext, Collection<Document> documents)
           
 
Methods inherited from class com.liferay.portal.kernel.messaging.proxy.BaseMultiDestinationProxyBean
getMessageSender, getSynchronousMessageSender, setMessageSender, setSynchronousMessageSender
 
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

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

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.1.2-ce-ga3