Liferay 6.0-ee

com.liferay.portal.search
Class IndexWriterImpl

java.lang.Object
  extended by com.liferay.portal.search.IndexWriterImpl
All Implemented Interfaces:
IndexWriter

public class IndexWriterImpl
extends Object
implements IndexWriter


Constructor Summary
IndexWriterImpl()
           
 
Method Summary
 void addDocument(long companyId, Document document)
           
 void addDocuments(long companyId, Collection<Document> documents)
           
 void deleteDocument(long companyId, String uid)
           
 void deleteDocuments(long companyId, Collection<String> uids)
           
 void deletePortletDocuments(long companyId, String portletId)
           
 void updateDocument(long companyId, Document document)
           
 void updateDocuments(long companyId, Collection<Document> documents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexWriterImpl

public IndexWriterImpl()
Method Detail

addDocument

public void addDocument(long companyId,
                        Document document)
Specified by:
addDocument in interface IndexWriter

addDocuments

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

deleteDocument

public void deleteDocument(long companyId,
                           String uid)
Specified by:
deleteDocument in interface IndexWriter

deleteDocuments

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

deletePortletDocuments

public void deletePortletDocuments(long companyId,
                                   String portletId)
Specified by:
deletePortletDocuments in interface IndexWriter

updateDocument

public void updateDocument(long companyId,
                           Document document)
Specified by:
updateDocument in interface IndexWriter

updateDocuments

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

Liferay 6.0-ee